From 03bce58ecedb641370ee0d471604a0c2ce1c28fe Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Thu, 3 Jan 2013 13:10:39 -0800 Subject: [PATCH] CSPACE-5765: Remove misleading comment. Currently, we can't safely drop the id_generators table on each system startup, because that would lose state information about the last ID generated by each ID Generator. --- .../resources/db/postgresql/create_id_generators_table.sql | 6 ------ 1 file changed, 6 deletions(-) diff --git a/services/common/src/main/resources/db/postgresql/create_id_generators_table.sql b/services/common/src/main/resources/db/postgresql/create_id_generators_table.sql index 7b4598341..5202c7307 100644 --- a/services/common/src/main/resources/db/postgresql/create_id_generators_table.sql +++ b/services/common/src/main/resources/db/postgresql/create_id_generators_table.sql @@ -26,12 +26,6 @@ SET SESSION client_min_messages=WARNING; -- 'CREATE TABLE ... IF NOT EXISTS' requires PostgreSQL 9.1 or later. --- --- To adapt this script for use with PostgreSQL 9.0 or earlier (untested), --- try substituting the following two lines for the line below: --- DROP TABLE IF EXISTS id_generators; --- CREATE TABLE id_generators ... --- CREATE TABLE IF NOT EXISTS id_generators ( csid character varying(80) NOT NULL, -- 2.47.3