mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Break parser functions into smaller files, group together.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.10 1997/10/25 01:09:28 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/print.c,v 1.11 1997/11/25 21:59:44 momjian Exp $
|
||||
*
|
||||
* HISTORY
|
||||
* AUTHOR DATE MAJOR EVENT
|
||||
@ -26,11 +26,11 @@
|
||||
#include "nodes/parsenodes.h"
|
||||
#include "nodes/print.h"
|
||||
#include "parser/parsetree.h"
|
||||
#include "parser/catalog_utils.h"
|
||||
#include "access/heapam.h"
|
||||
#include "utils/lsyscache.h"
|
||||
#include "nodes/nodes.h"
|
||||
#include "nodes/plannodes.h"
|
||||
#include "parser/parse_relation.h"
|
||||
#include "optimizer/clauses.h"
|
||||
|
||||
static char *plannode_type(Plan *p);
|
||||
@ -194,7 +194,7 @@ print_expr(Node *expr, List *rtable)
|
||||
r = heap_openr(relname);
|
||||
if (rt->refname)
|
||||
relname = rt->refname; /* table renamed */
|
||||
attname = getAttrName(r, var->varattno);
|
||||
attname = attnumAttName(r, var->varattno);
|
||||
heap_close(r);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user