mirror of https://github.com/citusdata/citus.git
Merge remote-tracking branch 'origin/master' into columnar-index
commit
6215a3aa93
|
@ -799,28 +799,32 @@ GatherIndexAndConstraintDefinitionList(Form_pg_index indexForm, List **indexDDLE
|
||||||
int indexFlags)
|
int indexFlags)
|
||||||
{
|
{
|
||||||
Oid indexId = indexForm->indexrelid;
|
Oid indexId = indexForm->indexrelid;
|
||||||
char *statementDef = NULL;
|
|
||||||
|
|
||||||
bool indexImpliedByConstraint = IndexImpliedByAConstraint(indexForm);
|
bool indexImpliedByConstraint = IndexImpliedByAConstraint(indexForm);
|
||||||
|
|
||||||
/* get the corresponding constraint or index statement */
|
/* get the corresponding constraint or index statement */
|
||||||
if (indexImpliedByConstraint)
|
if (indexImpliedByConstraint)
|
||||||
|
{
|
||||||
|
if (indexFlags & INCLUDE_CREATE_CONSTRAINT_STATEMENTS)
|
||||||
{
|
{
|
||||||
Oid constraintId = get_index_constraint(indexId);
|
Oid constraintId = get_index_constraint(indexId);
|
||||||
Assert(constraintId != InvalidOid);
|
Assert(constraintId != InvalidOid);
|
||||||
|
|
||||||
statementDef = pg_get_constraintdef_command(constraintId);
|
/* include constraints backed by indexes only when explicitly asked */
|
||||||
|
char *statementDef = pg_get_constraintdef_command(constraintId);
|
||||||
|
*indexDDLEventList =
|
||||||
|
lappend(*indexDDLEventList,
|
||||||
|
makeTableDDLCommandString(statementDef));
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
statementDef = pg_get_indexdef_string(indexId);
|
|
||||||
}
|
}
|
||||||
|
else if (indexFlags & INCLUDE_CREATE_INDEX_STATEMENTS)
|
||||||
/* append found constraint or index definition to the list */
|
|
||||||
if (indexFlags & INCLUDE_CREATE_INDEX_STATEMENTS)
|
|
||||||
{
|
{
|
||||||
*indexDDLEventList = lappend(*indexDDLEventList, makeTableDDLCommandString(
|
/*
|
||||||
statementDef));
|
* Include indexes that are not backing constraints only when
|
||||||
|
* explicitly asked.
|
||||||
|
*/
|
||||||
|
char *statementDef = pg_get_indexdef_string(indexId);
|
||||||
|
*indexDDLEventList = lappend(*indexDDLEventList,
|
||||||
|
makeTableDDLCommandString(statementDef));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if table is clustered on this index, append definition to the list */
|
/* if table is clustered on this index, append definition to the list */
|
||||||
|
|
|
@ -101,9 +101,11 @@ typedef enum TableDDLCommandType
|
||||||
typedef enum IndexDefinitionDeparseFlags
|
typedef enum IndexDefinitionDeparseFlags
|
||||||
{
|
{
|
||||||
INCLUDE_CREATE_INDEX_STATEMENTS = 1 << 0,
|
INCLUDE_CREATE_INDEX_STATEMENTS = 1 << 0,
|
||||||
INCLUDE_INDEX_CLUSTERED_STATEMENTS = 1 << 1,
|
INCLUDE_CREATE_CONSTRAINT_STATEMENTS = 1 << 1,
|
||||||
INCLUDE_INDEX_STATISTICS_STATEMENTTS = 1 << 2,
|
INCLUDE_INDEX_CLUSTERED_STATEMENTS = 1 << 2,
|
||||||
|
INCLUDE_INDEX_STATISTICS_STATEMENTTS = 1 << 3,
|
||||||
INCLUDE_INDEX_ALL_STATEMENTS = INCLUDE_CREATE_INDEX_STATEMENTS |
|
INCLUDE_INDEX_ALL_STATEMENTS = INCLUDE_CREATE_INDEX_STATEMENTS |
|
||||||
|
INCLUDE_CREATE_CONSTRAINT_STATEMENTS |
|
||||||
INCLUDE_INDEX_CLUSTERED_STATEMENTS |
|
INCLUDE_INDEX_CLUSTERED_STATEMENTS |
|
||||||
INCLUDE_INDEX_STATISTICS_STATEMENTTS
|
INCLUDE_INDEX_STATISTICS_STATEMENTTS
|
||||||
} IndexDefinitionDeparseFlags;
|
} IndexDefinitionDeparseFlags;
|
||||||
|
|
|
@ -224,3 +224,6 @@ s/^(DEBUG: the index name on the shards of the partition is too long, switching
|
||||||
|
|
||||||
# normalize errors for not being able to connect to a non-existing host
|
# normalize errors for not being able to connect to a non-existing host
|
||||||
s/could not translate host name "foobar" to address: .*$/could not translate host name "foobar" to address: <system specific error>/g
|
s/could not translate host name "foobar" to address: .*$/could not translate host name "foobar" to address: <system specific error>/g
|
||||||
|
|
||||||
|
# ignore PL/pgSQL line numbers that differ on Mac builds
|
||||||
|
s/(CONTEXT: PL\/pgSQL function .* line )([0-9]+)/\1XX/g
|
||||||
|
|
|
@ -872,7 +872,7 @@ END;
|
||||||
$function$;
|
$function$;
|
||||||
SELECT const_function(1), string_agg(a::character, ',') FROM t1;
|
SELECT const_function(1), string_agg(a::character, ',') FROM t1;
|
||||||
NOTICE: stable_fn called
|
NOTICE: stable_fn called
|
||||||
CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
CONTEXT: PL/pgSQL function const_function(integer) line XX at RAISE
|
||||||
const_function | string_agg
|
const_function | string_agg
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
1 |
|
1 |
|
||||||
|
@ -880,7 +880,7 @@ CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
||||||
|
|
||||||
SELECT const_function(1), count(b) FROM t1;
|
SELECT const_function(1), count(b) FROM t1;
|
||||||
NOTICE: stable_fn called
|
NOTICE: stable_fn called
|
||||||
CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
CONTEXT: PL/pgSQL function const_function(integer) line XX at RAISE
|
||||||
const_function | count
|
const_function | count
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
1 | 0
|
1 | 0
|
||||||
|
@ -888,7 +888,7 @@ CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
||||||
|
|
||||||
SELECT const_function(1), count(b), 10 FROM t1;
|
SELECT const_function(1), count(b), 10 FROM t1;
|
||||||
NOTICE: stable_fn called
|
NOTICE: stable_fn called
|
||||||
CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
CONTEXT: PL/pgSQL function const_function(integer) line XX at RAISE
|
||||||
const_function | count | ?column?
|
const_function | count | ?column?
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
1 | 0 | 10
|
1 | 0 | 10
|
||||||
|
@ -896,9 +896,9 @@ CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
||||||
|
|
||||||
SELECT const_function(1), count(b), const_function(10) FROM t1;
|
SELECT const_function(1), count(b), const_function(10) FROM t1;
|
||||||
NOTICE: stable_fn called
|
NOTICE: stable_fn called
|
||||||
CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
CONTEXT: PL/pgSQL function const_function(integer) line XX at RAISE
|
||||||
NOTICE: stable_fn called
|
NOTICE: stable_fn called
|
||||||
CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
CONTEXT: PL/pgSQL function const_function(integer) line XX at RAISE
|
||||||
const_function | count | const_function
|
const_function | count | const_function
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
1 | 0 | 1
|
1 | 0 | 1
|
||||||
|
@ -906,7 +906,7 @@ CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
||||||
|
|
||||||
SELECT square_func(5), string_agg(a::character, ','),const_function(1) FROM t1;
|
SELECT square_func(5), string_agg(a::character, ','),const_function(1) FROM t1;
|
||||||
NOTICE: stable_fn called
|
NOTICE: stable_fn called
|
||||||
CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
CONTEXT: PL/pgSQL function const_function(integer) line XX at RAISE
|
||||||
square_func | string_agg | const_function
|
square_func | string_agg | const_function
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
25 | | 1
|
25 | | 1
|
||||||
|
@ -914,7 +914,7 @@ CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
||||||
|
|
||||||
SELECT square_func_stable(5), string_agg(a::character, ','),const_function(1) FROM t1;
|
SELECT square_func_stable(5), string_agg(a::character, ','),const_function(1) FROM t1;
|
||||||
NOTICE: stable_fn called
|
NOTICE: stable_fn called
|
||||||
CONTEXT: PL/pgSQL function const_function(integer) line 3 at RAISE
|
CONTEXT: PL/pgSQL function const_function(integer) line XX at RAISE
|
||||||
square_func_stable | string_agg | const_function
|
square_func_stable | string_agg | const_function
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
25 | | 1
|
25 | | 1
|
||||||
|
|
|
@ -191,7 +191,7 @@ SELECT * FROM partitioned_table_6_10 ORDER BY 1, 2;
|
||||||
-- try to compress partitions with an integer partition column
|
-- try to compress partitions with an integer partition column
|
||||||
CALL alter_old_partitions_set_access_method('partitioned_table', '2021-01-01', 'columnar');
|
CALL alter_old_partitions_set_access_method('partitioned_table', '2021-01-01', 'columnar');
|
||||||
ERROR: partition column of partitioned_table cannot be cast to a timestamptz
|
ERROR: partition column of partitioned_table cannot be cast to a timestamptz
|
||||||
CONTEXT: PL/pgSQL function alter_old_partitions_set_access_method(regclass,timestamp with time zone,name) line 13 at RAISE
|
CONTEXT: PL/pgSQL function alter_old_partitions_set_access_method(regclass,timestamp with time zone,name) line XX at RAISE
|
||||||
CREATE TABLE time_partitioned (event_time timestamp, event int) partition by range (event_time);
|
CREATE TABLE time_partitioned (event_time timestamp, event int) partition by range (event_time);
|
||||||
SELECT create_distributed_table('time_partitioned', 'event_time');
|
SELECT create_distributed_table('time_partitioned', 'event_time');
|
||||||
create_distributed_table
|
create_distributed_table
|
||||||
|
|
|
@ -50,30 +50,30 @@ ERROR: Foreign keys and AFTER ROW triggers are not supported for columnar table
|
||||||
HINT: Consider an AFTER STATEMENT trigger instead.
|
HINT: Consider an AFTER STATEMENT trigger instead.
|
||||||
insert into test_tr values(1);
|
insert into test_tr values(1);
|
||||||
NOTICE: BEFORE STATEMENT INSERT
|
NOTICE: BEFORE STATEMENT INSERT
|
||||||
CONTEXT: PL/pgSQL function trs_before() line 3 at RAISE
|
CONTEXT: PL/pgSQL function trs_before() line XX at RAISE
|
||||||
NOTICE: BEFORE ROW INSERT: (1)
|
NOTICE: BEFORE ROW INSERT: (1)
|
||||||
CONTEXT: PL/pgSQL function trr_before() line 3 at RAISE
|
CONTEXT: PL/pgSQL function trr_before() line XX at RAISE
|
||||||
NOTICE: AFTER STATEMENT INSERT
|
NOTICE: AFTER STATEMENT INSERT
|
||||||
CONTEXT: PL/pgSQL function trs_after() line 5 at RAISE
|
CONTEXT: PL/pgSQL function trs_after() line XX at RAISE
|
||||||
NOTICE: (1)
|
NOTICE: (1)
|
||||||
CONTEXT: PL/pgSQL function trs_after() line 14 at RAISE
|
CONTEXT: PL/pgSQL function trs_after() line XX at RAISE
|
||||||
insert into test_tr values(2),(3),(4);
|
insert into test_tr values(2),(3),(4);
|
||||||
NOTICE: BEFORE STATEMENT INSERT
|
NOTICE: BEFORE STATEMENT INSERT
|
||||||
CONTEXT: PL/pgSQL function trs_before() line 3 at RAISE
|
CONTEXT: PL/pgSQL function trs_before() line XX at RAISE
|
||||||
NOTICE: BEFORE ROW INSERT: (2)
|
NOTICE: BEFORE ROW INSERT: (2)
|
||||||
CONTEXT: PL/pgSQL function trr_before() line 3 at RAISE
|
CONTEXT: PL/pgSQL function trr_before() line XX at RAISE
|
||||||
NOTICE: BEFORE ROW INSERT: (3)
|
NOTICE: BEFORE ROW INSERT: (3)
|
||||||
CONTEXT: PL/pgSQL function trr_before() line 3 at RAISE
|
CONTEXT: PL/pgSQL function trr_before() line XX at RAISE
|
||||||
NOTICE: BEFORE ROW INSERT: (4)
|
NOTICE: BEFORE ROW INSERT: (4)
|
||||||
CONTEXT: PL/pgSQL function trr_before() line 3 at RAISE
|
CONTEXT: PL/pgSQL function trr_before() line XX at RAISE
|
||||||
NOTICE: AFTER STATEMENT INSERT
|
NOTICE: AFTER STATEMENT INSERT
|
||||||
CONTEXT: PL/pgSQL function trs_after() line 5 at RAISE
|
CONTEXT: PL/pgSQL function trs_after() line XX at RAISE
|
||||||
NOTICE: (2)
|
NOTICE: (2)
|
||||||
CONTEXT: PL/pgSQL function trs_after() line 14 at RAISE
|
CONTEXT: PL/pgSQL function trs_after() line XX at RAISE
|
||||||
NOTICE: (3)
|
NOTICE: (3)
|
||||||
CONTEXT: PL/pgSQL function trs_after() line 14 at RAISE
|
CONTEXT: PL/pgSQL function trs_after() line XX at RAISE
|
||||||
NOTICE: (4)
|
NOTICE: (4)
|
||||||
CONTEXT: PL/pgSQL function trs_after() line 14 at RAISE
|
CONTEXT: PL/pgSQL function trs_after() line XX at RAISE
|
||||||
SELECT * FROM test_tr ORDER BY i;
|
SELECT * FROM test_tr ORDER BY i;
|
||||||
i
|
i
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
|
@ -146,7 +146,7 @@ create trigger tr_after_stmt_erroring after insert on test_tr
|
||||||
--
|
--
|
||||||
insert into test_tr values(5);
|
insert into test_tr values(5);
|
||||||
ERROR: error
|
ERROR: error
|
||||||
CONTEXT: PL/pgSQL function trs_after_erroring() line 4 at RAISE
|
CONTEXT: PL/pgSQL function trs_after_erroring() line XX at RAISE
|
||||||
insert into test_tr values(6);
|
insert into test_tr values(6);
|
||||||
SELECT * FROM test_tr ORDER BY i;
|
SELECT * FROM test_tr ORDER BY i;
|
||||||
i
|
i
|
||||||
|
|
|
@ -766,11 +766,11 @@ SELECT master_remove_node('localhost', 9999);
|
||||||
INSERT INTO pg_dist_node (nodename, nodeport, groupid, noderole)
|
INSERT INTO pg_dist_node (nodename, nodeport, groupid, noderole)
|
||||||
VALUES ('localhost', 5000, :worker_1_group, 'primary');
|
VALUES ('localhost', 5000, :worker_1_group, 'primary');
|
||||||
ERROR: there cannot be two primary nodes in a group
|
ERROR: there cannot be two primary nodes in a group
|
||||||
CONTEXT: PL/pgSQL function citus_internal.pg_dist_node_trigger_func() line 10 at RAISE
|
CONTEXT: PL/pgSQL function citus_internal.pg_dist_node_trigger_func() line XX at RAISE
|
||||||
UPDATE pg_dist_node SET noderole = 'primary'
|
UPDATE pg_dist_node SET noderole = 'primary'
|
||||||
WHERE groupid = :worker_1_group AND nodeport = 9998;
|
WHERE groupid = :worker_1_group AND nodeport = 9998;
|
||||||
ERROR: there cannot be two primary nodes in a group
|
ERROR: there cannot be two primary nodes in a group
|
||||||
CONTEXT: PL/pgSQL function citus_internal.pg_dist_node_trigger_func() line 18 at RAISE
|
CONTEXT: PL/pgSQL function citus_internal.pg_dist_node_trigger_func() line XX at RAISE
|
||||||
-- check that you can't manually add a primary to a non-default cluster
|
-- check that you can't manually add a primary to a non-default cluster
|
||||||
INSERT INTO pg_dist_node (nodename, nodeport, groupid, noderole, nodecluster)
|
INSERT INTO pg_dist_node (nodename, nodeport, groupid, noderole, nodecluster)
|
||||||
VALUES ('localhost', 5000, 1000, 'primary', 'olap');
|
VALUES ('localhost', 5000, 1000, 'primary', 'olap');
|
||||||
|
|
|
@ -71,7 +71,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add CALLED ON NULL INPUT
|
ALTER FUNCTION add CALLED ON NULL INPUT
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) CALLED ON NULL INPUT;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) CALLED ON NULL INPUT;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -84,7 +84,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add RETURNS NULL ON NULL INPUT
|
ALTER FUNCTION add RETURNS NULL ON NULL INPUT
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) STRICT;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) STRICT;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -95,7 +95,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add STRICT
|
ALTER FUNCTION add STRICT
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) STRICT;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) STRICT;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -106,7 +106,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add IMMUTABLE
|
ALTER FUNCTION add IMMUTABLE
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) IMMUTABLE;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) IMMUTABLE;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -117,7 +117,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add STABLE
|
ALTER FUNCTION add STABLE
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) STABLE;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) STABLE;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -128,7 +128,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add VOLATILE
|
ALTER FUNCTION add VOLATILE
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) VOLATILE;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) VOLATILE;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -139,7 +139,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add LEAKPROOF
|
ALTER FUNCTION add LEAKPROOF
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) LEAKPROOF;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) LEAKPROOF;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -150,7 +150,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add NOT LEAKPROOF
|
ALTER FUNCTION add NOT LEAKPROOF
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) NOT LEAKPROOF;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) NOT LEAKPROOF;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -163,7 +163,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add EXTERNAL SECURITY INVOKER
|
ALTER FUNCTION add EXTERNAL SECURITY INVOKER
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SECURITY INVOKER;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SECURITY INVOKER;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -174,7 +174,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add SECURITY INVOKER
|
ALTER FUNCTION add SECURITY INVOKER
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SECURITY INVOKER;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SECURITY INVOKER;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -185,7 +185,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add EXTERNAL SECURITY DEFINER
|
ALTER FUNCTION add EXTERNAL SECURITY DEFINER
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SECURITY DEFINER;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SECURITY DEFINER;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -196,7 +196,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add SECURITY DEFINER
|
ALTER FUNCTION add SECURITY DEFINER
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SECURITY DEFINER;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SECURITY DEFINER;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -207,7 +207,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add PARALLEL UNSAFE
|
ALTER FUNCTION add PARALLEL UNSAFE
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) PARALLEL UNSAFE;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) PARALLEL UNSAFE;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -218,7 +218,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add PARALLEL RESTRICTED
|
ALTER FUNCTION add PARALLEL RESTRICTED
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) PARALLEL RESTRICTED;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) PARALLEL RESTRICTED;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -229,7 +229,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add PARALLEL SAFE
|
ALTER FUNCTION add PARALLEL SAFE
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) PARALLEL SAFE;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) PARALLEL SAFE;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -241,7 +241,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add COST 1234
|
ALTER FUNCTION add COST 1234
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) COST 1234.000000;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) COST 1234.000000;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -252,7 +252,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add COST 1234.5
|
ALTER FUNCTION add COST 1234.5
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) COST 1234.500000;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) COST 1234.500000;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -263,7 +263,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add SET log_min_messages = ERROR
|
ALTER FUNCTION add SET log_min_messages = ERROR
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET log_min_messages = 'error';
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET log_min_messages = 'error';
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -274,7 +274,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add SET log_min_messages TO DEFAULT
|
ALTER FUNCTION add SET log_min_messages TO DEFAULT
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET log_min_messages TO DEFAULT;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET log_min_messages TO DEFAULT;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -285,7 +285,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add SET log_min_messages FROM CURRENT
|
ALTER FUNCTION add SET log_min_messages FROM CURRENT
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET log_min_messages FROM CURRENT;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET log_min_messages FROM CURRENT;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -296,7 +296,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add(int, int) SET TIME ZONE INTERVAL '-08:00' HOUR TO MINUTE;
|
ALTER FUNCTION add(int, int) SET TIME ZONE INTERVAL '-08:00' HOUR TO MINUTE;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET TIME ZONE INTERVAL '@ 8 hours ago';
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET TIME ZONE INTERVAL '@ 8 hours ago';
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -307,7 +307,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add(int, int) SET TIME ZONE '-7';
|
ALTER FUNCTION add(int, int) SET TIME ZONE '-7';
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET timezone = '-7';
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET timezone = '-7';
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -318,7 +318,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add(int, int) SET "citus.setting;'" TO 'hello '' world';
|
ALTER FUNCTION add(int, int) SET "citus.setting;'" TO 'hello '' world';
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET "citus.setting;'" = 'hello '' world';
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET "citus.setting;'" = 'hello '' world';
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -329,7 +329,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add(int, int) SET "citus.setting;'" TO -3.2;
|
ALTER FUNCTION add(int, int) SET "citus.setting;'" TO -3.2;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET "citus.setting;'" = -3.2;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET "citus.setting;'" = -3.2;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -340,7 +340,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add(int, int) SET "citus.setting;'" TO -32;
|
ALTER FUNCTION add(int, int) SET "citus.setting;'" TO -32;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET "citus.setting;'" = -32;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET "citus.setting;'" = -32;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -353,7 +353,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add(int, int) SET "citus.setting;'" TO 'hello '' world', 'second '' item';
|
ALTER FUNCTION add(int, int) SET "citus.setting;'" TO 'hello '' world', 'second '' item';
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET "citus.setting;'" = 'hello '' world', 'second '' item';
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET "citus.setting;'" = 'hello '' world', 'second '' item';
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,f,"ERROR: SET citus.setting;' takes only one argument")
|
(localhost,57637,f,"ERROR: SET citus.setting;' takes only one argument")
|
||||||
|
@ -364,7 +364,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add RESET log_min_messages
|
ALTER FUNCTION add RESET log_min_messages
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) RESET log_min_messages;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) RESET log_min_messages;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -375,7 +375,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add RESET ALL
|
ALTER FUNCTION add RESET ALL
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) RESET ALL;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) RESET ALL;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -387,7 +387,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add RENAME TO summation
|
ALTER FUNCTION add RENAME TO summation
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) RENAME TO summation;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) RENAME TO summation;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -402,7 +402,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION summation RENAME TO add
|
ALTER FUNCTION summation RENAME TO add
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.summation(integer, integer) RENAME TO add;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.summation(integer, integer) RENAME TO add;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -425,7 +425,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add OWNER TO function_role
|
ALTER FUNCTION add OWNER TO function_role
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) OWNER TO function_role;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) OWNER TO function_role;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -436,7 +436,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add OWNER TO missing_role
|
ALTER FUNCTION add OWNER TO missing_role
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) OWNER TO missing_role;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) OWNER TO missing_role;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,f,"ERROR: role ""missing_role"" does not exist")
|
(localhost,57637,f,"ERROR: role ""missing_role"" does not exist")
|
||||||
|
@ -448,7 +448,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add SET SCHEMA public
|
ALTER FUNCTION add SET SCHEMA public
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET SCHEMA public;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) SET SCHEMA public;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -461,7 +461,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION public.add SET SCHEMA function_tests
|
ALTER FUNCTION public.add SET SCHEMA function_tests
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION public.add(integer, integer) SET SCHEMA function_tests;
|
INFO: Propagating deparsed query: ALTER FUNCTION public.add(integer, integer) SET SCHEMA function_tests;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -473,7 +473,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add DEPENDS ON EXTENSION citus
|
ALTER FUNCTION add DEPENDS ON EXTENSION citus
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) DEPENDS ON EXTENSION citus;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) DEPENDS ON EXTENSION citus;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -485,7 +485,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION pg_catalog.get_shard_id_for_distribution_column(table_name regclass, distribution_value "any") PARALLEL SAFE;
|
ALTER FUNCTION pg_catalog.get_shard_id_for_distribution_column(table_name regclass, distribution_value "any") PARALLEL SAFE;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION pg_catalog.get_shard_id_for_distribution_column(pg_catalog.regclass, pg_catalog."any") PARALLEL SAFE;
|
INFO: Propagating deparsed query: ALTER FUNCTION pg_catalog.get_shard_id_for_distribution_column(pg_catalog.regclass, pg_catalog."any") PARALLEL SAFE;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -506,7 +506,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION add volatile leakproof SECURITY DEFINER PARALLEL unsafe;
|
ALTER FUNCTION add volatile leakproof SECURITY DEFINER PARALLEL unsafe;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) VOLATILE LEAKPROOF SECURITY DEFINER PARALLEL UNSAFE;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.add(integer, integer) VOLATILE LEAKPROOF SECURITY DEFINER PARALLEL UNSAFE;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -519,7 +519,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
DROP FUNCTION missing_function(int, text);
|
DROP FUNCTION missing_function(int, text);
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: DROP FUNCTION missing_function(pg_catalog.int4,text);
|
INFO: Propagating deparsed query: DROP FUNCTION missing_function(pg_catalog.int4,text);
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,f,"ERROR: function missing_function(integer, text) does not exist")
|
(localhost,57637,f,"ERROR: function missing_function(integer, text) does not exist")
|
||||||
|
@ -532,7 +532,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
DROP FUNCTION IF EXISTS missing_function(int, text);
|
DROP FUNCTION IF EXISTS missing_function(int, text);
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: DROP FUNCTION IF EXISTS missing_function(pg_catalog.int4,text);
|
INFO: Propagating deparsed query: DROP FUNCTION IF EXISTS missing_function(pg_catalog.int4,text);
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"DROP FUNCTION")
|
(localhost,57637,t,"DROP FUNCTION")
|
||||||
|
@ -543,7 +543,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
DROP FUNCTION IF EXISTS missing_schema.missing_function(int,float);
|
DROP FUNCTION IF EXISTS missing_schema.missing_function(int,float);
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: DROP FUNCTION IF EXISTS missing_schema.missing_function(pg_catalog.int4,pg_catalog.float8);
|
INFO: Propagating deparsed query: DROP FUNCTION IF EXISTS missing_schema.missing_function(pg_catalog.int4,pg_catalog.float8);
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"DROP FUNCTION")
|
(localhost,57637,t,"DROP FUNCTION")
|
||||||
|
@ -554,7 +554,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
DROP FUNCTION IF EXISTS missing_func_without_args;
|
DROP FUNCTION IF EXISTS missing_func_without_args;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: DROP FUNCTION IF EXISTS missing_func_without_args;
|
INFO: Propagating deparsed query: DROP FUNCTION IF EXISTS missing_func_without_args;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"DROP FUNCTION")
|
(localhost,57637,t,"DROP FUNCTION")
|
||||||
|
@ -597,7 +597,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION "CiTuS.TeeN"."TeeNFunCT10N.1!?!"() SET SCHEMA "CiTUS.TEEN2"
|
ALTER FUNCTION "CiTuS.TeeN"."TeeNFunCT10N.1!?!"() SET SCHEMA "CiTUS.TEEN2"
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION "CiTuS.TeeN"."TeeNFunCT10N.1!?!"() SET SCHEMA "CiTUS.TEEN2";
|
INFO: Propagating deparsed query: ALTER FUNCTION "CiTuS.TeeN"."TeeNFunCT10N.1!?!"() SET SCHEMA "CiTUS.TEEN2";
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -609,7 +609,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
DROP FUNCTION "CiTUS.TEEN2"."TeeNFunCT10N.1!?!"(),"CiTuS.TeeN"."TeeNFunCT10N.1!?!"(text);
|
DROP FUNCTION "CiTUS.TEEN2"."TeeNFunCT10N.1!?!"(),"CiTuS.TeeN"."TeeNFunCT10N.1!?!"(text);
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: DROP FUNCTION "CiTUS.TEEN2"."TeeNFunCT10N.1!?!"(), "CiTuS.TeeN"."TeeNFunCT10N.1!?!"(pg_catalog.text);
|
INFO: Propagating deparsed query: DROP FUNCTION "CiTUS.TEEN2"."TeeNFunCT10N.1!?!"(), "CiTuS.TeeN"."TeeNFunCT10N.1!?!"(pg_catalog.text);
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"DROP FUNCTION")
|
(localhost,57637,t,"DROP FUNCTION")
|
||||||
|
@ -630,7 +630,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION func_default_param RENAME TO func_with_default_param;
|
ALTER FUNCTION func_default_param RENAME TO func_with_default_param;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.func_default_param(integer) RENAME TO func_with_default_param;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.func_default_param(integer) RENAME TO func_with_default_param;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -651,7 +651,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION func_out_param RENAME TO func_in_and_out_param;
|
ALTER FUNCTION func_out_param RENAME TO func_in_and_out_param;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.func_out_param(integer) RENAME TO func_in_and_out_param;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.func_out_param(integer) RENAME TO func_in_and_out_param;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -675,7 +675,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION square SET search_path TO DEFAULT;
|
ALTER FUNCTION square SET search_path TO DEFAULT;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.square(numeric) SET search_path TO DEFAULT;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.square(numeric) SET search_path TO DEFAULT;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -706,7 +706,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION sum_avg COST 10000;
|
ALTER FUNCTION sum_avg COST 10000;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.sum_avg(numeric[]) COST 10000.000000;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.sum_avg(numeric[]) COST 10000.000000;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -728,7 +728,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION func_custom_param RENAME TO func_with_custom_param;
|
ALTER FUNCTION func_custom_param RENAME TO func_with_custom_param;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.func_custom_param(function_tests.intpair) RENAME TO func_with_custom_param;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.func_custom_param(function_tests.intpair) RENAME TO func_with_custom_param;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
@ -750,7 +750,7 @@ SELECT deparse_and_run_on_workers($cmd$
|
||||||
ALTER FUNCTION func_returns_table ROWS 100;
|
ALTER FUNCTION func_returns_table ROWS 100;
|
||||||
$cmd$);
|
$cmd$);
|
||||||
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.func_returns_table(integer) ROWS 100.000000;
|
INFO: Propagating deparsed query: ALTER FUNCTION function_tests.func_returns_table(integer) ROWS 100.000000;
|
||||||
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function deparse_and_run_on_workers(text) line XX at RAISE
|
||||||
deparse_and_run_on_workers
|
deparse_and_run_on_workers
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
(localhost,57637,t,"ALTER FUNCTION")
|
(localhost,57637,t,"ALTER FUNCTION")
|
||||||
|
|
|
@ -409,7 +409,7 @@ NOTICE: create_citus_local_table is deprecated in favour of citus_add_local_tab
|
||||||
ALTER EXTENSION citus UPDATE TO '9.4-1';
|
ALTER EXTENSION citus UPDATE TO '9.4-1';
|
||||||
ERROR: citus local tables are introduced in Citus 9.5
|
ERROR: citus local tables are introduced in Citus 9.5
|
||||||
HINT: To downgrade Citus to an older version, you should first convert each citus local table to a postgres table by executing SELECT undistribute_table("%s")
|
HINT: To downgrade Citus to an older version, you should first convert each citus local table to a postgres table by executing SELECT undistribute_table("%s")
|
||||||
CONTEXT: PL/pgSQL function inline_code_block line 11 at RAISE
|
CONTEXT: PL/pgSQL function inline_code_block line XX at RAISE
|
||||||
ROLLBACK;
|
ROLLBACK;
|
||||||
-- now we can downgrade as there is no citus local table
|
-- now we can downgrade as there is no citus local table
|
||||||
ALTER EXTENSION citus UPDATE TO '9.4-1';
|
ALTER EXTENSION citus UPDATE TO '9.4-1';
|
||||||
|
@ -872,7 +872,7 @@ BEGIN
|
||||||
END;
|
END;
|
||||||
$$;
|
$$;
|
||||||
ERROR: create distributed table failed
|
ERROR: create distributed table failed
|
||||||
CONTEXT: PL/pgSQL function inline_code_block line 6 at RAISE
|
CONTEXT: PL/pgSQL function inline_code_block line XX at RAISE
|
||||||
\c regression
|
\c regression
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
DROP DATABASE another;
|
DROP DATABASE another;
|
||||||
|
|
|
@ -131,9 +131,9 @@ END;
|
||||||
$function$;
|
$function$;
|
||||||
INSERT INTO example VALUES (44, (ARRAY[stable_fn(),stable_fn()])[1]);
|
INSERT INTO example VALUES (44, (ARRAY[stable_fn(),stable_fn()])[1]);
|
||||||
NOTICE: stable_fn called
|
NOTICE: stable_fn called
|
||||||
CONTEXT: PL/pgSQL function stable_fn() line 3 at RAISE
|
CONTEXT: PL/pgSQL function stable_fn() line XX at RAISE
|
||||||
NOTICE: stable_fn called
|
NOTICE: stable_fn called
|
||||||
CONTEXT: PL/pgSQL function stable_fn() line 3 at RAISE
|
CONTEXT: PL/pgSQL function stable_fn() line XX at RAISE
|
||||||
SELECT * FROM example WHERE key = 44;
|
SELECT * FROM example WHERE key = 44;
|
||||||
key | value
|
key | value
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
|
@ -143,7 +143,7 @@ SELECT * FROM example WHERE key = 44;
|
||||||
-- unnest is a set-returning function, which should not be evaluated
|
-- unnest is a set-returning function, which should not be evaluated
|
||||||
UPDATE example SET value = stable_fn() + interval '2 hours' FROM UNNEST(ARRAY[44, 4]) AS k (key) WHERE example.key = k.key;
|
UPDATE example SET value = stable_fn() + interval '2 hours' FROM UNNEST(ARRAY[44, 4]) AS k (key) WHERE example.key = k.key;
|
||||||
NOTICE: stable_fn called
|
NOTICE: stable_fn called
|
||||||
CONTEXT: PL/pgSQL function stable_fn() line 3 at RAISE
|
CONTEXT: PL/pgSQL function stable_fn() line XX at RAISE
|
||||||
SELECT * FROM example WHERE key = 44;
|
SELECT * FROM example WHERE key = 44;
|
||||||
key | value
|
key | value
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
|
|
|
@ -314,22 +314,22 @@ SELECT raise_failed_aclcheck($$
|
||||||
DROP TABLE distributed_mx_table;
|
DROP TABLE distributed_mx_table;
|
||||||
$$);
|
$$);
|
||||||
ERROR: must be owner of the object
|
ERROR: must be owner of the object
|
||||||
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line XX at RAISE
|
||||||
SELECT raise_failed_aclcheck($$
|
SELECT raise_failed_aclcheck($$
|
||||||
SELECT master_remove_distributed_table_metadata_from_workers('distributed_mx_table'::regclass, 'public', 'distributed_mx_table');
|
SELECT master_remove_distributed_table_metadata_from_workers('distributed_mx_table'::regclass, 'public', 'distributed_mx_table');
|
||||||
$$);
|
$$);
|
||||||
ERROR: must be owner of the object
|
ERROR: must be owner of the object
|
||||||
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line XX at RAISE
|
||||||
SELECT raise_failed_aclcheck($$
|
SELECT raise_failed_aclcheck($$
|
||||||
SELECT citus_drop_all_shards('distributed_mx_table'::regclass, 'public', 'distributed_mx_table');
|
SELECT citus_drop_all_shards('distributed_mx_table'::regclass, 'public', 'distributed_mx_table');
|
||||||
$$);
|
$$);
|
||||||
ERROR: must be owner of the object
|
ERROR: must be owner of the object
|
||||||
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line XX at RAISE
|
||||||
SELECT raise_failed_aclcheck($$
|
SELECT raise_failed_aclcheck($$
|
||||||
SELECT master_remove_partition_metadata('distributed_mx_table'::regclass, 'public', 'distributed_mx_table');
|
SELECT master_remove_partition_metadata('distributed_mx_table'::regclass, 'public', 'distributed_mx_table');
|
||||||
$$);
|
$$);
|
||||||
ERROR: must be owner of the object
|
ERROR: must be owner of the object
|
||||||
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line XX at RAISE
|
||||||
-- make sure that we can drop unrelated tables/sequences
|
-- make sure that we can drop unrelated tables/sequences
|
||||||
CREATE TABLE unrelated_table(key serial);
|
CREATE TABLE unrelated_table(key serial);
|
||||||
DROP TABLE unrelated_table;
|
DROP TABLE unrelated_table;
|
||||||
|
@ -358,12 +358,12 @@ SELECT raise_failed_aclcheck($$
|
||||||
DROP TABLE distributed_mx_table;
|
DROP TABLE distributed_mx_table;
|
||||||
$$);
|
$$);
|
||||||
ERROR: must be owner of the object
|
ERROR: must be owner of the object
|
||||||
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line XX at RAISE
|
||||||
SELECT raise_failed_aclcheck($$
|
SELECT raise_failed_aclcheck($$
|
||||||
SELECT master_remove_distributed_table_metadata_from_workers('distributed_mx_table'::regclass, 'public', 'distributed_mx_table');
|
SELECT master_remove_distributed_table_metadata_from_workers('distributed_mx_table'::regclass, 'public', 'distributed_mx_table');
|
||||||
$$);
|
$$);
|
||||||
ERROR: must be owner of the object
|
ERROR: must be owner of the object
|
||||||
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line 6 at RAISE
|
CONTEXT: PL/pgSQL function raise_failed_aclcheck(text) line XX at RAISE
|
||||||
SELECT raise_failed_aclcheck($$
|
SELECT raise_failed_aclcheck($$
|
||||||
SELECT master_drop_sequences(ARRAY['public.distributed_mx_table_some_val_seq']);
|
SELECT master_drop_sequences(ARRAY['public.distributed_mx_table_some_val_seq']);
|
||||||
$$);
|
$$);
|
||||||
|
|
|
@ -29,9 +29,9 @@ EXPLAIN (COSTS FALSE)
|
||||||
SELECT l_orderkey, l_linenumber, l_shipdate FROM lineitem WHERE l_orderkey = 9030 or l_orderkey = 1;
|
SELECT l_orderkey, l_linenumber, l_shipdate FROM lineitem WHERE l_orderkey = 9030 or l_orderkey = 1;
|
||||||
$Q$);
|
$Q$);
|
||||||
DEBUG: Router planner does not support append-partitioned tables.
|
DEBUG: Router planner does not support append-partitioned tables.
|
||||||
CONTEXT: PL/pgSQL function coordinator_plan(text) line 3 at FOR over EXECUTE statement
|
CONTEXT: PL/pgSQL function coordinator_plan(text) line XX at FOR over EXECUTE statement
|
||||||
LOG: join order: [ "lineitem" ]
|
LOG: join order: [ "lineitem" ]
|
||||||
CONTEXT: PL/pgSQL function coordinator_plan(text) line 3 at FOR over EXECUTE statement
|
CONTEXT: PL/pgSQL function coordinator_plan(text) line XX at FOR over EXECUTE statement
|
||||||
coordinator_plan
|
coordinator_plan
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
Custom Scan (Citus Adaptive)
|
Custom Scan (Citus Adaptive)
|
||||||
|
@ -78,9 +78,9 @@ EXPLAIN (COSTS FALSE)
|
||||||
SELECT l_orderkey, l_linenumber, l_shipdate FROM lineitem WHERE l_orderkey = 9030;
|
SELECT l_orderkey, l_linenumber, l_shipdate FROM lineitem WHERE l_orderkey = 9030;
|
||||||
$Q$);
|
$Q$);
|
||||||
DEBUG: Router planner does not support append-partitioned tables.
|
DEBUG: Router planner does not support append-partitioned tables.
|
||||||
CONTEXT: PL/pgSQL function coordinator_plan(text) line 3 at FOR over EXECUTE statement
|
CONTEXT: PL/pgSQL function coordinator_plan(text) line XX at FOR over EXECUTE statement
|
||||||
LOG: join order: [ "lineitem" ]
|
LOG: join order: [ "lineitem" ]
|
||||||
CONTEXT: PL/pgSQL function coordinator_plan(text) line 3 at FOR over EXECUTE statement
|
CONTEXT: PL/pgSQL function coordinator_plan(text) line XX at FOR over EXECUTE statement
|
||||||
coordinator_plan
|
coordinator_plan
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
Custom Scan (Citus Adaptive)
|
Custom Scan (Citus Adaptive)
|
||||||
|
@ -143,9 +143,9 @@ EXPLAIN (COSTS FALSE)
|
||||||
SELECT l_orderkey, l_linenumber, l_shipdate FROM lineitem WHERE l_orderkey = 9030;
|
SELECT l_orderkey, l_linenumber, l_shipdate FROM lineitem WHERE l_orderkey = 9030;
|
||||||
$Q$);
|
$Q$);
|
||||||
DEBUG: Router planner does not support append-partitioned tables.
|
DEBUG: Router planner does not support append-partitioned tables.
|
||||||
CONTEXT: PL/pgSQL function coordinator_plan(text) line 3 at FOR over EXECUTE statement
|
CONTEXT: PL/pgSQL function coordinator_plan(text) line XX at FOR over EXECUTE statement
|
||||||
LOG: join order: [ "lineitem" ]
|
LOG: join order: [ "lineitem" ]
|
||||||
CONTEXT: PL/pgSQL function coordinator_plan(text) line 3 at FOR over EXECUTE statement
|
CONTEXT: PL/pgSQL function coordinator_plan(text) line XX at FOR over EXECUTE statement
|
||||||
coordinator_plan
|
coordinator_plan
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
Custom Scan (Citus Adaptive)
|
Custom Scan (Citus Adaptive)
|
||||||
|
@ -208,9 +208,9 @@ EXPLAIN (COSTS FALSE)
|
||||||
SELECT l_orderkey, l_linenumber, l_shipdate FROM lineitem WHERE l_orderkey = 9030;
|
SELECT l_orderkey, l_linenumber, l_shipdate FROM lineitem WHERE l_orderkey = 9030;
|
||||||
$Q$);
|
$Q$);
|
||||||
DEBUG: Router planner does not support append-partitioned tables.
|
DEBUG: Router planner does not support append-partitioned tables.
|
||||||
CONTEXT: PL/pgSQL function coordinator_plan(text) line 3 at FOR over EXECUTE statement
|
CONTEXT: PL/pgSQL function coordinator_plan(text) line XX at FOR over EXECUTE statement
|
||||||
LOG: join order: [ "lineitem" ]
|
LOG: join order: [ "lineitem" ]
|
||||||
CONTEXT: PL/pgSQL function coordinator_plan(text) line 3 at FOR over EXECUTE statement
|
CONTEXT: PL/pgSQL function coordinator_plan(text) line XX at FOR over EXECUTE statement
|
||||||
coordinator_plan
|
coordinator_plan
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
Custom Scan (Citus Adaptive)
|
Custom Scan (Citus Adaptive)
|
||||||
|
|
|
@ -308,7 +308,7 @@ DO $sharded_sql$
|
||||||
$sharded_sql$;
|
$sharded_sql$;
|
||||||
ERROR: query has no destination for result data
|
ERROR: query has no destination for result data
|
||||||
HINT: If you want to discard the results of a SELECT, use PERFORM instead.
|
HINT: If you want to discard the results of a SELECT, use PERFORM instead.
|
||||||
CONTEXT: PL/pgSQL function inline_code_block line 3 at SQL statement
|
CONTEXT: PL/pgSQL function inline_code_block line XX at SQL statement
|
||||||
-- test cross-shard queries
|
-- test cross-shard queries
|
||||||
SELECT COUNT(*) FROM articles;
|
SELECT COUNT(*) FROM articles;
|
||||||
count
|
count
|
||||||
|
|
|
@ -182,7 +182,7 @@ NOTICE: executing the command locally: SELECT local_table.a, numbers.a FROM (re
|
||||||
CONTEXT: SQL statement "SELECT local_table.a, numbers.a FROM local_table NATURAL JOIN numbers ORDER BY 1"
|
CONTEXT: SQL statement "SELECT local_table.a, numbers.a FROM local_table NATURAL JOIN numbers ORDER BY 1"
|
||||||
PL/pgSQL function test_reference_local_join_plpgsql_func() line 5 at PERFORM
|
PL/pgSQL function test_reference_local_join_plpgsql_func() line 5 at PERFORM
|
||||||
ERROR:
|
ERROR:
|
||||||
CONTEXT: PL/pgSQL function test_reference_local_join_plpgsql_func() line 6 at RAISE
|
CONTEXT: PL/pgSQL function test_reference_local_join_plpgsql_func() line XX at RAISE
|
||||||
SELECT sum(a) FROM local_table;
|
SELECT sum(a) FROM local_table;
|
||||||
sum
|
sum
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
|
|
|
@ -717,7 +717,7 @@ RAISE '(%/3) failed to execute one of the tasks', errors_received;
|
||||||
END;
|
END;
|
||||||
$$;
|
$$;
|
||||||
ERROR: (3/3) failed to execute one of the tasks
|
ERROR: (3/3) failed to execute one of the tasks
|
||||||
CONTEXT: PL/pgSQL function inline_code_block line 31 at RAISE
|
CONTEXT: PL/pgSQL function inline_code_block line XX at RAISE
|
||||||
SET client_min_messages TO DEFAULT;
|
SET client_min_messages TO DEFAULT;
|
||||||
DROP SCHEMA subquery_and_ctes CASCADE;
|
DROP SCHEMA subquery_and_ctes CASCADE;
|
||||||
NOTICE: drop cascades to 8 other objects
|
NOTICE: drop cascades to 8 other objects
|
||||||
|
|
|
@ -589,7 +589,7 @@ CREATE OR REPLACE FUNCTION fixed_volatile_value() RETURNS integer VOLATILE AS $$
|
||||||
$$ LANGUAGE plpgsql;
|
$$ LANGUAGE plpgsql;
|
||||||
EXECUTE test_values_pushdown(fixed_volatile_value(),2,3);
|
EXECUTE test_values_pushdown(fixed_volatile_value(),2,3);
|
||||||
NOTICE: evaluated on the coordinator
|
NOTICE: evaluated on the coordinator
|
||||||
CONTEXT: PL/pgSQL function fixed_volatile_value() line 3 at RAISE
|
CONTEXT: PL/pgSQL function fixed_volatile_value() line XX at RAISE
|
||||||
DEBUG: CTE cte_1 is going to be inlined via distributed planning
|
DEBUG: CTE cte_1 is going to be inlined via distributed planning
|
||||||
count
|
count
|
||||||
---------------------------------------------------------------------
|
---------------------------------------------------------------------
|
||||||
|
|
|
@ -63,7 +63,7 @@ test: hyperscale_tutorial
|
||||||
test: multi_basic_queries multi_complex_expressions multi_subquery_complex_queries multi_subquery_behavioral_analytics
|
test: multi_basic_queries multi_complex_expressions multi_subquery_complex_queries multi_subquery_behavioral_analytics
|
||||||
test: multi_subquery_complex_reference_clause multi_subquery_window_functions multi_sql_function
|
test: multi_subquery_complex_reference_clause multi_subquery_window_functions multi_sql_function
|
||||||
test: multi_function_in_join row_types
|
test: multi_function_in_join row_types
|
||||||
test: multi_subquery_in_where_reference_clause join adaptive_executor propagate_set_commands
|
test: multi_subquery_in_where_reference_clause join_pushdown adaptive_executor propagate_set_commands
|
||||||
test: rollback_to_savepoint insert_select_into_local_table undistribute_table
|
test: rollback_to_savepoint insert_select_into_local_table undistribute_table
|
||||||
test: multi_subquery_union multi_subquery_in_where_clause multi_subquery_misc
|
test: multi_subquery_union multi_subquery_in_where_clause multi_subquery_misc
|
||||||
test: multi_limit_clause_approximate multi_single_relation_subquery set_role_in_transaction
|
test: multi_limit_clause_approximate multi_single_relation_subquery set_role_in_transaction
|
||||||
|
|
|
@ -69,7 +69,7 @@ test: hyperscale_tutorial
|
||||||
test: multi_basic_queries multi_subquery multi_subquery_complex_queries multi_subquery_behavioral_analytics
|
test: multi_basic_queries multi_subquery multi_subquery_complex_queries multi_subquery_behavioral_analytics
|
||||||
test: multi_subquery_complex_reference_clause multi_subquery_window_functions multi_sql_function
|
test: multi_subquery_complex_reference_clause multi_subquery_window_functions multi_sql_function
|
||||||
test: multi_function_in_join row_types materialized_view
|
test: multi_function_in_join row_types materialized_view
|
||||||
test: multi_subquery_in_where_reference_clause join adaptive_executor propagate_set_commands
|
test: multi_subquery_in_where_reference_clause join_pushdown adaptive_executor propagate_set_commands
|
||||||
test: multi_subquery_union multi_subquery_in_where_clause multi_subquery_misc
|
test: multi_subquery_union multi_subquery_in_where_clause multi_subquery_misc
|
||||||
test: multi_agg_distinct multi_limit_clause_approximate multi_outer_join_reference
|
test: multi_agg_distinct multi_limit_clause_approximate multi_outer_join_reference
|
||||||
test: multi_select_for_update relation_access_tracking pg13_with_ties
|
test: multi_select_for_update relation_access_tracking pg13_with_ties
|
||||||
|
|
Loading…
Reference in New Issue