Re: Problem with pg_dump?

From: "Ken Winter" <ken(at)sunward(dot)org>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "'PostgreSQL pg-general List'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problem with pg_dump?
Date: 2008-01-04 22:29:53
Message-ID: 005001c84f21$5440ff40$6703a8c0@KenIBM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Everything I'm doing involves only 8.1. I don't have any 8.2 instances at
all...

Oops, just I just got a message from my tool's developer that the tool uses
the 8.2 pg_dump no matter what actual PostgreSQL version it's working on.
Sigh.

~ Thanks
~ Ken

> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-
> owner(at)postgresql(dot)org] On Behalf Of Tom Lane
> Sent: Friday, January 04, 2008 3:35 PM
> To: Ken Winter
> Cc: PostgreSQL pg-general List
> Subject: Re: [GENERAL] Problem with pg_dump?
>
> "Ken Winter" <ken(at)sunward(dot)org> writes:
> > When I do a pg_dump from an 8.1 database (with options schema-only,
> > no-owner, and plain format), the dump file includes the following:
>
> > ALTER SEQUENCE transaction_transaction_id_seq OWNED BY
> > "transaction".transaction_id;
>
> Don't use 8.2 pg_dump if you are intending to reload the output into
> 8.1. In general, pg_dump's output is not promised to be backward
> compatible with older server versions.
>
> > (Full disclosure: I am actually getting this error when working through
> the
> > tool "PG Lightning Assistant" (see
> > http://www.amsoftwaredesign.com/lightning_admin.php)
>
> There are some "helpful" tools that seem not to be aware that pg_dump
> and server versions are closely linked.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Webb Sprague 2008-01-04 22:59:47 Getting process id of a connection?
Previous Message beer@cmu.edu 2008-01-04 21:47:49 Re: data volume resizing and large objects