Adding error messages to a few slash commands
Abhishek Chanda <abhishek.becs@gmail.com>
From: Abhishek Chanda <abhishek.becs@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2025-04-13T03:43:15Z
Lists: pgsql-hackers
Attachments
- v1-0001-Add-an-error-message-when-a-given-object-is-not-f.patch (application/octet-stream) patch v1-0001
Hello hackers, Currently, some slash commands in psql return an error saying "Did not find any XXXX named YYYY" while some return an empty table. This patch changes a few of the slash commands to return a similar error message. I did not change all of the slash commands in this initial patch to wait for feedback, happy to do that if this patch is acceptable. I did not add any tests yet because the existing ones did not seem to have any, happy to add tests if needed. Also, I know that we are in a feature freeze, is such a change acceptable now? Thanks -- Thanks and regards Abhishek Chanda