Re: PGXS: REGRESS_OPTS=--load-language=plpgsql

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: PGXS: REGRESS_OPTS=--load-language=plpgsql
Дата
Msg-id 71216848-4817-485E-AE89-541A523B5AB7@kineticode.com
обсуждение исходный текст
Ответ на Re: PGXS: REGRESS_OPTS=--load-language=plpgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: codlin_month is up and complain - PL/Python crash
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: alpha4 timing