Update migration sql scripts.

issue/6694
Gokhan Gulbiz 2023-03-01 11:13:24 +03:00
parent cd69b975a3
commit 7701ca12e0
No known key found for this signature in database
GPG Key ID: 608EF06B6BD1B45B
4 changed files with 16 additions and 8 deletions

View File

@ -1,9 +1,3 @@
-- citus--11.2-1--11.3-1 -- citus--11.2-1--11.3-1
CREATE FUNCTION worker_modify_identity_columns(regclass) #include "udfs/worker_modify_identity_columns/11.3-1.sql"
RETURNS VOID
LANGUAGE C STRICT
AS 'MODULE_PATHNAME', $$worker_modify_identity_columns$$;
COMMENT ON FUNCTION worker_modify_identity_columns(regclass)
IS 'modify identity columns to produce globally unique values';

View File

@ -1,2 +1,2 @@
-- citus--11.3-1--11.2-1 -- citus--11.3-1--11.2-1
DROP FUNCTION worker_modify_identity_columns(regclass); DROP FUNCTION IF EXISTS worker_modify_identity_columns(regclass);

View File

@ -0,0 +1,7 @@
CREATE OR REPLACE FUNCTION 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)
IS 'modify identity columns to produce globally unique values';

View File

@ -0,0 +1,7 @@
CREATE OR REPLACE FUNCTION 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)
IS 'modify identity columns to produce globally unique values';