From 2d42e6197a739e9a3f406bd14b784b82b3844dc3 Mon Sep 17 00:00:00 2001 From: Gonzalo Riestra Date: Thu, 20 Jun 2019 11:20:03 +0200 Subject: [PATCH] use bigint to store values from txid_current() --- scripts-available/CDB_GhostTables.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts-available/CDB_GhostTables.sql b/scripts-available/CDB_GhostTables.sql index 58104d9..f65bada 100644 --- a/scripts-available/CDB_GhostTables.sql +++ b/scripts-available/CDB_GhostTables.sql @@ -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