Re: Very confusing installcheck behavior with PGXS

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
Cc: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Very confusing installcheck behavior with PGXS
Date: 2016-01-07 23:58:25
Message-ID: 20160107235825.GA550344@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David E. Wheeler wrote:
> On Jan 7, 2016, at 11:20 AM, Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> wrote:
>
> >>> Also worth noting: the only reason I'm using pg_regress is it's the easiest
> >>> way to get a test cluster. If not for that, I'd just use pg_prove since I'm
> >>> already using pgTap.
> >>
> >> In 9.5 you might want to "use PostgresNode" which allows you to initdb
> >> and such.
> >
> > Oooh, thanks! I might well just copy that into my pgxntool utility.
>
> Is this documented somewhere?

Not in detail. Patches welcome; see the "regress-tap" sect1 in
doc/src/sgml/regress.sgml.

> If it’s Perl, seems like it’d only be useful for those of us who compile from source, yes?

Feel free to submit patches for discussion to install the modules. We
already install pg_regress under lib/pgxs/src/test/regress/ so I see no
reason we couldn't install the Perl test modules somewhere. If you
hurry you can still make it to 9.6's last commitfest.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-01-08 00:04:45 Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status
Previous Message Alvaro Herrera 2016-01-07 23:38:51 Re: Re: [COMMITTERS] pgsql: Windows: Make pg_ctl reliably detect service status