use bigint to store values from txid_current()

This commit is contained in:
Gonzalo Riestra
2019-06-20 11:20:03 +02:00
parent 5605fdd9b2
commit 2d42e6197a

View File

@@ -96,7 +96,7 @@ AS $$
DROP TRIGGER IF EXISTS check_ddl_update ON @extschema@.cdb_ddl_execution;
-- Table to store the transaction id from DDL events to avoid multiple executions
CREATE TABLE IF NOT EXISTS @extschema@.cdb_ddl_execution(txid integer PRIMARY KEY, tag text);
CREATE TABLE IF NOT EXISTS @extschema@.cdb_ddl_execution(txid bigint PRIMARY KEY, tag text);
CREATE CONSTRAINT TRIGGER check_ddl_update
AFTER INSERT ON @extschema@.cdb_ddl_execution