From b3120804ad1692322a6d905b352df7fa0d7cdd80 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 18 Apr 2002 20:01:11 +0000 Subject: Rule names are now unique per-relation, rather than unique globally. DROP RULE and COMMENT ON RULE syntax adds an 'ON tablename' clause, similar to TRIGGER syntaxes. To allow loading of existing pg_dump files containing COMMENT ON RULE, the COMMENT code will still accept the old syntax --- but only if the target rulename is unique across the whole database. --- src/backend/tcop/postgres.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/tcop/postgres.c') diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index bef1b8064c7..d8c2065258b 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.260 2002/03/24 04:31:07 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.261 2002/04/18 20:01:09 tgl Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -1688,7 +1688,7 @@ PostgresMain(int argc, char *argv[], const char *username) if (!IsUnderPostmaster) { puts("\nPOSTGRES backend interactive interface "); - puts("$Revision: 1.260 $ $Date: 2002/03/24 04:31:07 $\n"); + puts("$Revision: 1.261 $ $Date: 2002/04/18 20:01:09 $\n"); } /* @@ -2322,7 +2322,7 @@ CreateCommandTag(Node *parsetree) tag = "CREATE"; break; - case T_DropTrigStmt: + case T_DropPropertyStmt: tag = "DROP"; break; -- cgit v1.2.3