Remove ancient PL/pgsql line numbering hack.
Robert Haas <rhaas@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpgsql/src/pl_scanner.c | modified | +1 −14 |
| src/test/regress/expected/domain.out | modified | +3 −3 |
| src/test/regress/expected/guc.out | modified | +1 −1 |
| src/test/regress/expected/plancache.out | modified | +2 −2 |
| src/test/regress/expected/plpgsql.out | modified | +24 −24 |