Enhanced error message to include hint messages for redundant options error

From: vignesh C <vignesh21(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Enhanced error message to include hint messages for redundant options error
Date: 2021-04-26 11:58:55
Message-ID: CALDaNm33FFSS5tVyvmkoK2cCMuDVxcui=gFrjti9ROfynqSAGA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
0001-Enhance-error-message.patch text/x-patch 23.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2021-04-26 12:04:55 Re: ALTER TABLE .. DETACH PARTITION CONCURRENTLY
Previous Message houzj.fnst@fujitsu.com 2021-04-26 11:26:29 RE: Parallel INSERT SELECT take 2