Re: The -o command line option of pg_dump for a database using foreign keys

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Kenji Sugita <sugita(at)sra(dot)co(dot)jp>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: The -o command line option of pg_dump for a database using foreign keys
Date: 2001-08-16 13:32:12
Message-ID: 200108161332.f7GDWCt12062@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> PostgreSQL 7.1.2 Administrator's Guide says as follows:
>
> Chapter 8. Backup and Restore
> 8.1. SQL Dump
>
> Important: When your database schema relies on OIDs (for instances as
> foreign keys) you must instruct pg_dump to dump the OIDs as well. To do
> this, use the -o command line option.
>
> Is the -o option still required for 7.1.2 version for a database using foreign
> keys?

Only if you use object ids (OID's).

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-08-16 13:33:16 Re: PostgreSQL buffer exploits
Previous Message Johann Zuschlag 2001-08-16 13:29:57 Overwriting Operator for numeric and float8 fails