diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-04-04 21:12:31 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-04-04 21:12:31 +0000 |
| commit | 090173a3f937952b2a5c6d92a3ab139e79ca3033 (patch) | |
| tree | f015510d48f341507f96ae5288e069700755799d /src/include/commands | |
| parent | c973051ae69228129aeb8eb413d451ba4b326cad (diff) | |
| download | postgresql-090173a3f937952b2a5c6d92a3ab139e79ca3033.tar.gz | |
Remove the recently added node types ReloptElem and OptionDefElem in favor
of adding optional namespace and action fields to DefElem. Having three
node types that do essentially the same thing bloats the code and leads
to errors of confusion, such as in yesterday's bug report from Khee Chin.
Diffstat (limited to 'src/include/commands')
| -rw-r--r-- | src/include/commands/defrem.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h index 7fba58bef8..4658a314f7 100644 --- a/src/include/commands/defrem.h +++ b/src/include/commands/defrem.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/defrem.h,v 1.93 2009/02/02 19:31:40 alvherre Exp $ + * $PostgreSQL: pgsql/src/include/commands/defrem.h,v 1.94 2009/04/04 21:12:31 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -145,8 +145,6 @@ extern int64 defGetInt64(DefElem *def); extern List *defGetQualifiedName(DefElem *def); extern TypeName *defGetTypeName(DefElem *def); extern int defGetTypeLength(DefElem *def); -extern char *reloptGetString(ReloptElem *relopt); -extern bool reloptGetBoolean(ReloptElem *relopt); -extern ReloptElem *reloptWithOids(bool value); +extern DefElem *defWithOids(bool value); #endif /* DEFREM_H */ |
