From 7a09e8059a21fbc63faaf672318d2e99954152de Mon Sep 17 00:00:00 2001 From: tetragon Date: Mon, 28 Jan 2008 01:52:53 +0000 Subject: fix syntax error in COMMENT ON INDEX statement git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@2062 4979c152-3d1c-0410-bac9-87ea11338e46 --- sql/fixes/tax_pkey_duplicate.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/fixes/tax_pkey_duplicate.sql b/sql/fixes/tax_pkey_duplicate.sql index f590d8ca..23876ac0 100644 --- a/sql/fixes/tax_pkey_duplicate.sql +++ b/sql/fixes/tax_pkey_duplicate.sql @@ -9,5 +9,5 @@ COMMENT ON CONSTRAINT tax_unique ON tax IS $$Checks on the base uniqueness of the chart_id, validto combination$$; CREATE UNIQUE INDEX tax_null_validto_unique_idx ON tax(chart_id) WHERE validto IS NULL; -COMMENT ON INDEX tax_null_validto_unique_idx ON tax IS +COMMENT ON INDEX tax_null_validto_unique_idx IS $$Part of primary key emulation for the tax table, ensures at most one NULL validto for each chart_id$$; -- cgit v1.2.3