Re: Dumping from older version

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Raymond O'Donnell" <rod(at)iol(dot)ie>
Cc: "'PostgreSQL'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Dumping from older version
Date: 2007-09-26 15:22:18
Message-ID: 20070926152218.GF8572@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Raymond O'Donnell wrote:
> Just wondering - when using a newer pg_dump to dump from an older Postgres,
> does pg_dump automatically generate INSERT statements for the data rather
> than using COPY?

No.

> I noticed this today when transferring data to a newer server - pg_dump
> generated INSERTs although I didn't ask for them. Not a problem, but I was
> curious.

Perhaps you included -d in the command line options?

--
Alvaro Herrera Valdivia, Chile ICBM: S 39º 49' 18.1", W 73º 13' 56.4"
"El miedo atento y previsor es la madre de la seguridad" (E. Burke)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2007-09-26 15:24:29 Re: Help tuning a large table off disk and into RAM
Previous Message Alvaro Herrera 2007-09-26 15:21:26 Re: PG_DUMP not working