Re: BUG #17281: How specify regress database? - Mailing list pgsql-bugs

From Euler Taveira
Subject Re: BUG #17281: How specify regress database?
Date
Msg-id 60f231f9-a889-425c-a1a7-b48a0db31f14@www.fastmail.com
Whole thread Raw
In response to BUG #17281: How specify regress database?  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #17281: How specify regress database?
List pgsql-bugs
On Thu, Nov 11, 2021, at 6:08 AM, PG Bug reporting form wrote:
I try
1) add in Makefile
CONTRIB_TESTDB = postgres
2) add in Makefile
REGRESS_OPTS = --use-existing --dbname=postgres
3) add in Makefile
EXTRA_REGRESS_OPTS = --use-existing --dbname=postgres
4) before calling make installcheck
export CONTRIB_TESTDB=postgres
but results everything is same:
/usr/lib/postgresql/pgxs/src/makefiles/../../src/test/regress/pg_regress
--inputdir=./ --bindir='/usr/bin'    --use-existing --dbname=postgres
--dbname=contrib_regression extension
i.e. pgxs places --dbname=contrib_regression in last option due to

This is not a bug. Use the appropriate list for your question next time.

AFAICS there is not a configurable way to change the CONTRIB_TESTDB. Unless,
you modify Makefile.global.in. You might modify configure.ac to inform a
configurable database for the CONTRIB_TESTDB too.


--
Euler Taveira

pgsql-bugs by date:

Previous
From: Erki Eessaar
Date:
Subject: References to parameters by name are lost in INSERT INTO ... SELECT .... statements in case of routines with the SQL-standard function body
Next
From: Andres Freund
Date:
Subject: Re: BUG #17255: Server crashes in index_delete_sort_cmp() due to race condition with vacuum