Re: BUG #19629: pg_restore_relation_stats reports XX000 instead of proper SQLSTATE for input validation errors

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>, hackerzheng666(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19629: pg_restore_relation_stats reports XX000 instead of proper SQLSTATE for input validation errors
Date: 2026-08-24 23:49:53
Message-ID: aozYob22-UJ8CWzk@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Aug 24, 2026 at 03:00:01PM +0300, Alexander Lakhin wrote:
> FWIW, I have my own collection of XX000 errors that can be reached by
> users. I see there are distinct bug reports following this one, but I
> guess, it won't be convenient to process dozens of such reports (if I
> add mine). Maybe it would make sense to create a wiki page to
> enumerate all these legally reachable internal errors (probably some of
> them would stay as-is)...
>
> What do you think?

You have automated their detection, don't you? If you have dozens of
them piled up, I would not mind if you send them in a single batch on
a new thread..
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Rahila Syed 2026-08-25 04:30:16 Re: SIGSEGV in dynahash
Previous Message Bharath Rupireddy 2026-08-24 22:26:03 Re: autovacuum: automatically propagate updated parameters