aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-03-03 01:53:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-03-03 01:53:17 +0000
commit77e0d7b3eb0270fa48dc3e9b42b71618033f7ed5 (patch)
treec549d3609bd36cb50d1c8581496bd0c3f437a9de /src/backend/utils/adt/xml.c
parent7c55be792b6a59b3524041e63e976fd0c2dea38c (diff)
downloadpostgresql-77e0d7b3eb0270fa48dc3e9b42b71618033f7ed5.tar.gz
postgresql-77e0d7b3eb0270fa48dc3e9b42b71618033f7ed5.zip
Instead of trying (and failing) to allow <<label>> at the end of a DECLARE
section, throw an error message saying explicitly that the label must go before DECLARE. Per investigation of a recent pgsql-novice question, this code did not work as intended in any modern PG version, maybe not ever. Allowing such a thing would only create ambiguity anyway, so it seems better to remove it than fix it.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions