pgsql: Fix publication syntax error message

2023-05-10 Thread Alvaro Herrera
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

pgsql: Fix publication syntax error message

2023-05-10 Thread Alvaro Herrera
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