Re: PGXS: REGRESS_OPTS=--load-language=plpgsql
От | David Fetter |
---|---|
Тема | Re: PGXS: REGRESS_OPTS=--load-language=plpgsql |
Дата | |
Msg-id | 20100219024030.GA27534@fetter.org обсуждение исходный текст |
Ответ на | Re: PGXS: REGRESS_OPTS=--load-language=plpgsql (Euler Taveira de Oliveira <euler@timbira.com>) |
Ответы |
Re: PGXS: REGRESS_OPTS=--load-language=plpgsql
|
Список | pgsql-hackers |
On Fri, Feb 19, 2010 at 12:26:29AM -0200, Euler Taveira de Oliveira wrote: > David Fetter escreveu: > > OK, I know it's late, but having PL/pgsql on by default has caused > > an unforeseen need: --require-language. > > > Why? IMHO pg_regress should be used with the same postgres version > it was built with. So any tests that use --load-language=plpgsql > should be fixed. Besides we could patch pg_regress.c to ignore > loading plpgsql language into the database (instead of adding > another parameter -- we already have too many options). Any external projects will fail on this if they're attempting to support both pre-9.0 and post-9.0 PostgreSQLs. David Wheeler has suggested that we special-case PL/pgsql for 9.0 and greater, as it's in template0, where those tests are based. Cheers, Another David. -- David Fetter <david@fetter.org> http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@gmail.com iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate
В списке pgsql-hackers по дате отправления: