mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
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.
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user