Re: pg_dump should not try CREATE OR REPLACE LANGUAGE < 9.0

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump should not try CREATE OR REPLACE LANGUAGE < 9.0
Date: 2010-05-12 20:09:24
Message-ID: 4765.1273694964@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Sabino Mullane <greg(at)turnstep(dot)com> writes:
> Subject line kind of says it all: LANGUAGE replacement was
> introduced in 9.0, but pg_dump is trying it on all versions.

So? pg_dump output is never promised to load into older server
versions.

The proposed patch is quite wrong anyway, because it is looking at
the source server version, not the (unknowable) target version.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2010-05-12 20:11:57 Re: Tags missing from GIT mirror?
Previous Message Tom Lane 2010-05-12 20:03:59 Re: Tags missing from GIT mirror?