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

From: Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: David Fetter <david(at)fetter(dot)org>
Cc: Euler Taveira de Oliveira <euler(at)timbira(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PGXS: REGRESS_OPTS=--load-language=plpgsql
Date: 2010-02-19 03:56:23
Message-ID: 20100219125623.91CD.52131E4D@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


David Fetter <david(at)fetter(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-02-19 04:38:41 Re: PGXS: REGRESS_OPTS=--load-language=plpgsql
Previous Message Marc G. Fournier 2010-02-19 03:51:54 Re: SR: "pseudo replication database of the primary" ...