Enhanced error message to include hint messages for redundant options error
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-04-26T11:58:55Z
Lists: pgsql-hackers
Attachments
- 0001-Enhance-error-message.patch (text/x-patch) patch 0001
Hi, While reviewing one of the logical replication patches, I found that we do not include hint messages to display the actual option which has been specified more than once in case of redundant option error. I felt including this will help in easily identifying the error, users will not have to search through the statement to identify where the actual error is present. Attached a patch for the same. Thoughts? Regards, Vignesh
Commits
-
Improve reporting of "conflicting or redundant options" errors.
- 2bfb50b3df11 15.0 landed
-
Refactor function parse_subscription_options.
- 8aafb0261675 15.0 cited