Re: PATCH pass PGOPTIONS to pg_regress - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: PATCH pass PGOPTIONS to pg_regress
Date
Msg-id 945816fc-f866-df99-d314-aa7d05d37069@2ndquadrant.com
Whole thread Raw
In response to PATCH pass PGOPTIONS to pg_regress  (Manuel Kniep <m.kniep@web.de>)
List pgsql-hackers
On 5/29/18 09:19, Manuel Kniep wrote:
> Consider something like this in an extensions makefile:
> 
> ifeq ($(shell test $(VERSION_NUM) -ge 90600; echo $$?),0)
> PGOPTIONS+= "--max_parallel_workers_per_gather=0"
> endif

I think you can probably write this inside your test .sql file using a
bit of PL/pgSQL.

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


pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Re: pg_replication_slot_advance to return NULL instead of 0/0 if slotnot advanced
Next
From: Tom Lane
Date:
Subject: Re: Why is fncollation in FunctionCallInfoData rather than fmgr_info?