diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-17 20:57:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-17 20:57:57 +0000 |
commit | 27a54ae282d74ee471a5b34d136fe3d4f894a9de (patch) | |
tree | 59aedb6b78d8b4ff8f26f6a945799a443dd6d571 /src/backend/parser/analyze.c | |
parent | d85a81cbc384614eec525ca19e1cf48687643725 (diff) |
Opclasses live in namespaces. I also took the opportunity to create
an 'opclass owner' column in pg_opclass. Nothing is done with it at
present, but since there are plans to invent a CREATE OPERATOR CLASS
command soon, we'll probably want DROP OPERATOR CLASS too, which
suggests that a notion of ownership would be a good idea.
Diffstat (limited to 'src/backend/parser/analyze.c')
-rw-r--r-- | src/backend/parser/analyze.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c index 6a68adfff37..b3b8859d126 100644 --- a/src/backend/parser/analyze.c +++ b/src/backend/parser/analyze.c @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.230 2002/04/16 23:08:11 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/analyze.c,v 1.231 2002/04/17 20:57:56 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1209,7 +1209,7 @@ transformIndexConstraints(ParseState *pstate, CreateStmtContext *cxt) iparam->name = pstrdup(key->name); iparam->funcname = NIL; iparam->args = NIL; - iparam->class = NULL; + iparam->opclass = NIL; index->indexParams = lappend(index->indexParams, iparam); } |