diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-09-01 20:42:46 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-09-01 20:42:46 +0000 |
| commit | b153c0920960a6059b67969469166fb29c0105d7 (patch) | |
| tree | 4e7100ecdca88746c369ae2a6a43468925f3194d /src/backend/nodes/readfuncs.c | |
| parent | 9ac4299163247645c6e391f5f65735c6cb78ccb9 (diff) | |
| download | postgresql-b153c0920960a6059b67969469166fb29c0105d7.tar.gz | |
Add a bunch of new error location reports to parse-analysis error messages.
There are still some weak spots around JOIN USING and relation alias lists,
but most errors reported within backend/parser/ now have locations.
Diffstat (limited to 'src/backend/nodes/readfuncs.c')
| -rw-r--r-- | src/backend/nodes/readfuncs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/nodes/readfuncs.c b/src/backend/nodes/readfuncs.c index ee363502f6..1eca85d0b6 100644 --- a/src/backend/nodes/readfuncs.c +++ b/src/backend/nodes/readfuncs.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/nodes/readfuncs.c,v 1.213 2008/08/28 23:09:46 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/nodes/readfuncs.c,v 1.214 2008/09/01 20:42:44 tgl Exp $ * * NOTES * Path and Plan nodes do not have any readfuncs support, because we @@ -179,7 +179,7 @@ _readNotifyStmt(void) { READ_LOCALS(NotifyStmt); - READ_NODE_FIELD(relation); + READ_STRING_FIELD(conditionname); READ_DONE(); } @@ -278,6 +278,7 @@ _readRangeVar(void) READ_ENUM_FIELD(inhOpt, InhOption); READ_BOOL_FIELD(istemp); READ_NODE_FIELD(alias); + READ_LOCATION_FIELD(location); READ_DONE(); } |
