OSDN Git Service

Remove ancient PL/pgsql line numbering hack.
authorRobert Haas <rhaas@postgresql.org>
Mon, 2 Aug 2010 03:46:54 +0000 (03:46 +0000)
committerRobert Haas <rhaas@postgresql.org>
Mon, 2 Aug 2010 03:46:54 +0000 (03:46 +0000)
commitc3a05881de21438a29b6dc721ebd7d1e028a905a
tree36f12f9e6bb47289354156025fc37099817cd8b4
parente621037eec4a1c9ec2d7056c9c1c11b9b03932cb
Remove ancient PL/pgsql line numbering hack.

While this hack arguably has some benefit in terms of making PL/pgsql's
line numbering match the programmer's expectations, it also makes
PL/pgsql inconsistent with the remaining PLs, making it difficult for
clients to reliably determine where the error actually is.  On balance,
it seems better to be consistent.

Pavel Stehule
src/pl/plpgsql/src/pl_scanner.c
src/test/regress/expected/domain.out
src/test/regress/expected/guc.out
src/test/regress/expected/plancache.out
src/test/regress/expected/plpgsql.out