pgsql: worker_spi: Add tests for BGWORKER_BYPASS_ALLOWCONN

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: worker_spi: Add tests for BGWORKER_BYPASS_ALLOWCONN
Date: 2023-10-06 00:02:44
Message-ID: E1qoYIm-000FOf-0l@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

worker_spi: Add tests for BGWORKER_BYPASS_ALLOWCONN

This bgworker flag exists in the core code since eed1ce72e159, but was
never tested. This relies on 4f2994647ff1, that has added a way to
start dynamic workers with this flag enabled.

Reviewed-by: Bertrand Drouvot, Bharath Rupireddy
Discussion: https://postgr.es/m/bcc36259-7850-4882-97ef-d6b905d2fc51@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/991bb0f9653c61cf116338f295534d1378df2751

Modified Files
--------------
src/test/modules/worker_spi/t/001_worker_spi.pl | 27 +++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-10-06 01:03:25 pgsql: worker_spi: Fix test failure with BGWORKER_BYPASS_ALLOWCONN
Previous Message Peter Eisentraut 2023-10-05 14:35:20 pgsql: Push attidentity and attgenerated handling into BuildDescForRela