From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix publication syntax error message |
Date: | 2023-05-10 16:27:02 |
Message-ID: | E1pwmec-001StB-6R@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix publication syntax error message
There was some odd wording in corner-case gram.y error messages "some
error ... at or near", which appears to have been modeled after "syntax
error" messages. However, they don't work that way, and they're just
wrong. They're also uncovered by tests. Remove the trailing words,
and also add tests.
They were introduced with 5a2832465fd8; backpatch to 15.
Author: Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c39f2f68e95a54e430c6a7b7d1e9f98cedff5aff
Modified Files
--------------
src/backend/parser/gram.y | 4 ++--
src/test/regress/expected/publication.out | 9 +++++++++
src/test/regress/sql/publication.sql | 4 ++++
3 files changed, 15 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2023-05-10 17:50:21 | pgsql: Doc: Fix link to fillfactor reloption. |
Previous Message | Peter Eisentraut | 2023-05-10 11:56:48 | pgsql: Add missing gettext triggers |