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

Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>

From: Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>
To: David Fetter <david@fetter.org>
Cc: Euler Taveira de Oliveira <euler@timbira.com>, Tom Lane <tgl@sss.pgh.pa.us>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2010-02-19T03:56:23Z
Lists: pgsql-hackers
David Fetter <david@fetter.org> wrote:

> 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.

+1 for the CREATE LANGUAGE IF NOT EXISTS behavior.

The regression test in the core is targeting only its version,
but some external projects have version-independent tests.
I hope --load-language works as "ensure the language is installed"
rather than "always install the language".

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center