mirror of https://github.com/citusdata/citus.git
Add schema name to worker_modify_identity_columns UDF
parent
9f2ff9ed1f
commit
3a24649748
|
@ -98,7 +98,7 @@
|
|||
* once every LOG_PER_TUPLE_AMOUNT, the copy will be logged.
|
||||
*/
|
||||
#define LOG_PER_TUPLE_AMOUNT 1000000
|
||||
#define WORKER_MODIFY_IDENTITY_COMMAND "SELECT worker_modify_identity_columns(%s)"
|
||||
#define WORKER_MODIFY_IDENTITY_COMMAND "SELECT pg_catalog.worker_modify_identity_columns(%s)"
|
||||
|
||||
/* local function forward declarations */
|
||||
static void CreateDistributedTableConcurrently(Oid relationId,
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
-- citus--11.3-1--11.2-1
|
||||
DROP FUNCTION IF EXISTS worker_modify_identity_columns(regclass);
|
||||
DROP FUNCTION IF EXISTS pg_catalog.worker_modify_identity_columns(regclass);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CREATE OR REPLACE FUNCTION worker_modify_identity_columns(regclass)
|
||||
CREATE OR REPLACE FUNCTION pg_catalog.worker_modify_identity_columns(regclass)
|
||||
RETURNS VOID
|
||||
LANGUAGE C STRICT
|
||||
AS 'MODULE_PATHNAME', $$worker_modify_identity_columns$$;
|
||||
COMMENT ON FUNCTION worker_modify_identity_columns(regclass)
|
||||
COMMENT ON FUNCTION pg_catalog.worker_modify_identity_columns(regclass)
|
||||
IS 'modify identity columns to produce globally unique values';
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CREATE OR REPLACE FUNCTION worker_modify_identity_columns(regclass)
|
||||
CREATE OR REPLACE FUNCTION pg_catalog.worker_modify_identity_columns(regclass)
|
||||
RETURNS VOID
|
||||
LANGUAGE C STRICT
|
||||
AS 'MODULE_PATHNAME', $$worker_modify_identity_columns$$;
|
||||
COMMENT ON FUNCTION worker_modify_identity_columns(regclass)
|
||||
COMMENT ON FUNCTION pg_catalog.worker_modify_identity_columns(regclass)
|
||||
IS 'modify identity columns to produce globally unique values';
|
||||
|
||||
|
|
Loading…
Reference in New Issue