diff options
| author | Tom Lane | 2005-04-06 16:34:07 +0000 |
|---|---|---|
| committer | Tom Lane | 2005-04-06 16:34:07 +0000 |
| commit | ad161bcc8a3792d18ef2f3ebe66bb1e22d42b6f2 (patch) | |
| tree | 18ec8963fbd1d6dd62ad214bfe3552fc2e7d06eb /src/include/optimizer | |
| parent | 0f3748a28c42d09d794ff00af3f1f992eaa5fd7c (diff) | |
Merge Resdom nodes into TargetEntry nodes to simplify code and save a
few palloc's. I also chose to eliminate the restype and restypmod fields
entirely, since they are redundant with information stored in the node's
contained expression; re-examining the expression at need seems simpler
and more reliable than trying to keep restype/restypmod up to date.
initdb forced due to change in contents of stored rules.
Diffstat (limited to 'src/include/optimizer')
| -rw-r--r-- | src/include/optimizer/tlist.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/include/optimizer/tlist.h b/src/include/optimizer/tlist.h index 33df54cd5d6..91418033ae1 100644 --- a/src/include/optimizer/tlist.h +++ b/src/include/optimizer/tlist.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/optimizer/tlist.h,v 1.41 2004/12/31 22:03:36 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/optimizer/tlist.h,v 1.42 2005/04/06 16:34:07 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -17,10 +17,7 @@ #include "nodes/relation.h" -extern TargetEntry *tlistentry_member(Node *node, List *targetlist); -extern Resdom *tlist_member(Node *node, List *targetlist); - -extern TargetEntry *create_tl_element(Var *var, int resdomno); +extern TargetEntry *tlist_member(Node *node, List *targetlist); extern List *flatten_tlist(List *tlist); extern List *add_to_flat_tlist(List *tlist, List *vars); |
