aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvalidate.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-10-31 12:43:47 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-10-31 12:43:47 -0400
commitacb2d7d5d2301f07d5857ee252995e62ce9e7055 (patch)
tree0fdcadd97218dbeb0b85ea0e99b76e521d1fcccc /src/backend/access/gist/gistvalidate.c
parentfd2706589a7da4be6f6998befdf8e5fdea1565b8 (diff)
downloadpostgresql-acb2d7d5d2301f07d5857ee252995e62ce9e7055.tar.gz
postgresql-acb2d7d5d2301f07d5857ee252995e62ce9e7055.zip
plpgsql: report proper line number for errors in variable initialization.
Previously, we pointed at the surrounding block's BEGIN keyword. If there are multiple variables being initialized in a DECLARE section, this isn't good enough: it can be quite confusing and unhelpful. We do know where the variable's declaration started, so it just takes a tiny bit more error-reporting infrastructure to use that. Discussion: https://postgr.es/m/713975.1635530414@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/gist/gistvalidate.c')
0 files changed, 0 insertions, 0 deletions