Re: PGXS: REGRESS_OPTS=--load-language=plpgsql - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: PGXS: REGRESS_OPTS=--load-language=plpgsql
Date
Msg-id 71216848-4817-485E-AE89-541A523B5AB7@kineticode.com
Whole thread Raw
In response to Re: PGXS: REGRESS_OPTS=--load-language=plpgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Feb 18, 2010, at 3:27 PM, Tom Lane wrote:

>> While hacking on PL/Parrot, I ran across an issue where when trying to
>> load PL/pgsql, it's done unconditionally and fails.  How do we fix
>> pg_regress to be a little more subtle about this?
>
> Why exactly would we want it to not fail?  Regression tests are not
> about papering over problems.

pg_regress needs to not install plpgsql into the data database on 9.0 when passed `--load-language=plpgsql`, because
plpgsqlwill of course already be installed. 

Unless you want all the third-party modules that depend on plpgsql for tests to somehow detect that they're going to
runon 8.5a3 or later and not pass that option. But that'd be kind of a PITA. Much easier if pg_regress knows it doesn't
needto install plpgsql. 

Best,

David



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: codlin_month is up and complain - PL/Python crash
Next
From: Peter Eisentraut
Date:
Subject: Re: alpha4 timing