Adding error messages to a few slash commands - Mailing list pgsql-hackers

From Abhishek Chanda
Subject Adding error messages to a few slash commands
Date
Msg-id CAKiP-K_cAUvAMKUnQAA0bZEeKony1q=VPp8OUYRTHzpNZZbKqg@mail.gmail.com
Whole thread Raw
Responses Re: Adding error messages to a few slash commands
Re: Adding error messages to a few slash commands
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: Buildfarm: Enabling injection points on basilisk/dogfish (Alpine / musl)
Next
From: Abhishek Chanda
Date:
Subject: Re: Adding error messages to a few slash commands