mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-15 01:53:41 +08:00
Rename exported functions used in distributed tests to follow the convention of ts_ prefix, which was recently forced in non-distributed tests.
18 lines
604 B
SQL
18 lines
604 B
SQL
-- This file and its contents are licensed under the Timescale License.
|
|
-- Please see the included NOTICE for copyright information and
|
|
-- LICENSE-TIMESCALE for a copy of the license.
|
|
|
|
\c :TEST_DBNAME :ROLE_SUPERUSER
|
|
|
|
CREATE OR REPLACE FUNCTION _timescaledb_internal.test_stmt_params_format(binary BOOL)
|
|
RETURNS VOID
|
|
AS :TSL_MODULE_PATHNAME, 'ts_test_stmt_params_format'
|
|
LANGUAGE C STRICT;
|
|
|
|
-- by default we use binary format
|
|
SELECT _timescaledb_internal.test_stmt_params_format(true);
|
|
|
|
SET timescaledb.enable_connection_binary_data = false;
|
|
|
|
SELECT _timescaledb_internal.test_stmt_params_format(false);
|