Re: pg_dump should not try CREATE OR REPLACE LANGUAGE < 9.0 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump should not try CREATE OR REPLACE LANGUAGE < 9.0
Date
Msg-id 4765.1273694964@sss.pgh.pa.us
Whole thread Raw
In response to pg_dump should not try CREATE OR REPLACE LANGUAGE < 9.0  (Greg Sabino Mullane <greg@turnstep.com>)
List pgsql-hackers
Greg Sabino Mullane <greg@turnstep.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Tags missing from GIT mirror?
Next
From: Andrew Dunstan
Date:
Subject: Re: Tags missing from GIT mirror?