diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-07-29 22:14:11 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-07-29 22:14:11 +0000 |
commit | ea4686e3e1f00910a19e18dd59f5c518345bb431 (patch) | |
tree | 00359cabd37ad22e8228a5cc47a8600f45b74896 /src/backend/tcop/postgres.c | |
parent | b9459c6adbf08abae7bbddb5c497476814823b7d (diff) | |
download | postgresql-ea4686e3e1f00910a19e18dd59f5c518345bb431.tar.gz postgresql-ea4686e3e1f00910a19e18dd59f5c518345bb431.zip |
Implement CREATE/DROP OPERATOR CLASS. Work still remains: need more
documentation (xindex.sgml should be rewritten), need to teach pg_dump
about it, need to update contrib modules that currently build pg_opclass
entries by hand. Original patch by Bill Studenmund, grammar adjustments
and general update for 7.3 by Tom Lane.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index d9137368335..8128487a2e5 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.272 2002/07/18 23:11:28 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.273 2002/07/29 22:14:11 tgl Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -1693,7 +1693,7 @@ PostgresMain(int argc, char *argv[], const char *username) if (!IsUnderPostmaster) { puts("\nPOSTGRES backend interactive interface "); - puts("$Revision: 1.272 $ $Date: 2002/07/18 23:11:28 $\n"); + puts("$Revision: 1.273 $ $Date: 2002/07/29 22:14:11 $\n"); } /* @@ -2452,6 +2452,14 @@ CreateCommandTag(Node *parsetree) tag = "DROP CAST"; break; + case T_CreateOpClassStmt: + tag = "CREATE OPERATOR CLASS"; + break; + + case T_RemoveOpClassStmt: + tag = "DROP OPERATOR CLASS"; + break; + default: elog(LOG, "CreateCommandTag: unknown parse node type %d", nodeTag(parsetree)); |