mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 10:33:27 +08:00
Remove debug function dependency in tests
Allows the permissions test to run in release mode.
This commit is contained in:
parent
3c385b8833
commit
b822328dfe
@ -3,11 +3,6 @@
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
-- initialize the bgw mock state to prevent the materialization workers from running
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||
CREATE OR REPLACE FUNCTION ts_bgw_params_create() RETURNS VOID
|
||||
AS :MODULE_PATHNAME LANGUAGE C VOLATILE;
|
||||
\set WAIT_ON_JOB 0
|
||||
\set IMMEDIATELY_SET_UNTIL 1
|
||||
\set WAIT_FOR_OTHER_TO_ADVANCE 2
|
||||
-- stop the background workers from locking up the tables,
|
||||
-- and remove any default jobs, e.g., telemetry so bgw_job isn't polluted
|
||||
SELECT _timescaledb_internal.stop_background_workers();
|
||||
|
@ -3,11 +3,6 @@
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
-- initialize the bgw mock state to prevent the materialization workers from running
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||
CREATE OR REPLACE FUNCTION ts_bgw_params_create() RETURNS VOID
|
||||
AS :MODULE_PATHNAME LANGUAGE C VOLATILE;
|
||||
\set WAIT_ON_JOB 0
|
||||
\set IMMEDIATELY_SET_UNTIL 1
|
||||
\set WAIT_FOR_OTHER_TO_ADVANCE 2
|
||||
-- stop the background workers from locking up the tables,
|
||||
-- and remove any default jobs, e.g., telemetry so bgw_job isn't polluted
|
||||
SELECT _timescaledb_internal.stop_background_workers();
|
||||
|
@ -3,11 +3,6 @@
|
||||
-- LICENSE-TIMESCALE for a copy of the license.
|
||||
-- initialize the bgw mock state to prevent the materialization workers from running
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||
CREATE OR REPLACE FUNCTION ts_bgw_params_create() RETURNS VOID
|
||||
AS :MODULE_PATHNAME LANGUAGE C VOLATILE;
|
||||
\set WAIT_ON_JOB 0
|
||||
\set IMMEDIATELY_SET_UNTIL 1
|
||||
\set WAIT_FOR_OTHER_TO_ADVANCE 2
|
||||
-- stop the background workers from locking up the tables,
|
||||
-- and remove any default jobs, e.g., telemetry so bgw_job isn't polluted
|
||||
SELECT _timescaledb_internal.stop_background_workers();
|
||||
|
@ -5,13 +5,6 @@
|
||||
-- initialize the bgw mock state to prevent the materialization workers from running
|
||||
\c :TEST_DBNAME :ROLE_SUPERUSER
|
||||
|
||||
CREATE OR REPLACE FUNCTION ts_bgw_params_create() RETURNS VOID
|
||||
AS :MODULE_PATHNAME LANGUAGE C VOLATILE;
|
||||
|
||||
\set WAIT_ON_JOB 0
|
||||
\set IMMEDIATELY_SET_UNTIL 1
|
||||
\set WAIT_FOR_OTHER_TO_ADVANCE 2
|
||||
|
||||
-- stop the background workers from locking up the tables,
|
||||
-- and remove any default jobs, e.g., telemetry so bgw_job isn't polluted
|
||||
SELECT _timescaledb_internal.stop_background_workers();
|
||||
|
Loading…
x
Reference in New Issue
Block a user