public inbox for [email protected]  
help / color / mirror / Atom feed
From: jian he <[email protected]>
To: Aaryan Parik <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH] psql: Display SQLSTATE macro name in verbose error reports
Date: Sun, 24 May 2026 09:56:55 +0800
Message-ID: <CACJufxG62iwtxYi33ebwhTLaE8JnxJhefoygczXOFhuHhvbTvQ@mail.gmail.com> (raw)
In-Reply-To: <CAFAL27jsbbRkjj=zwudUU7vpmNHDgRCQXYEv_qx6D9uc7LLYvQ@mail.gmail.com>
References: <CAFAL27jsbbRkjj=zwudUU7vpmNHDgRCQXYEv_qx6D9uc7LLYvQ@mail.gmail.com>

On Sun, May 24, 2026 at 3:18 AM Aaryan Parik <[email protected]> wrote:
>
> Example output:
> ERROR:  42601: syntax error at or near "FRO"
> LINE 1: SELECT * FRO;
>                  ^
> LOCATION:  scanner_yyerror, scan.l:1220
> SQLSTATE name: ERRCODE_SYNTAX_ERROR
>
> I believe this will be a handy quality-of-life improvement for developers. Looking forward to any feedback
>

This seems identical to the patch submitted in the previous email thread, [0].

[0]: https://www.postgresql.org/message-id/CAK3UJRGc2RKfQMjwVDAwsuOJuobq3d4%2BQf9KWK1NHmK1vaqyxQ%40mail.g...






reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: [PATCH] psql: Display SQLSTATE macro name in verbose error reports
  In-Reply-To: <CACJufxG62iwtxYi33ebwhTLaE8JnxJhefoygczXOFhuHhvbTvQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox