From c957c0bac7f9785ae2a7520a9f693eeda0ff545b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 24 Dec 2006 00:29:20 +0000 Subject: Code review for XML patch. Instill a bit of sanity in the location of the XmlExpr code in various lists, use a representation that has some hope of reverse-listing correctly (though it's still a de-escaping function shy of correctness), generally try to make it look more like Postgres coding conventions. --- src/backend/parser/parse_target.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/backend/parser/parse_target.c') diff --git a/src/backend/parser/parse_target.c b/src/backend/parser/parse_target.c index 906d96e45c6..ef4b9083ac6 100644 --- a/src/backend/parser/parse_target.c +++ b/src/backend/parser/parse_target.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/parser/parse_target.c,v 1.150 2006/12/21 16:05:14 petere Exp $ + * $PostgreSQL: pgsql/src/backend/parser/parse_target.c,v 1.151 2006/12/24 00:29:19 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1328,6 +1328,15 @@ FigureColnameInternal(Node *node, char **name) case IS_XMLFOREST: *name = "xmlforest"; return 2; + case IS_XMLPARSE: + *name = "xmlparse"; + return 2; + case IS_XMLPI: + *name = "xmlpi"; + return 2; + case IS_XMLROOT: + *name = "xmlroot"; + return 2; } break; default: -- cgit v1.2.3