Re: misleading error message in ProcessUtilitySlow T_CreateStatsStmt

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Álvaro Herrera <alvherre(at)kurilemu(dot)de>, jian he <jian(dot)universality(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Kirill Reshke <reshkekirill(at)gmail(dot)com>
Subject: Re: misleading error message in ProcessUtilitySlow T_CreateStatsStmt
Date: 2025-09-15 10:16:39
Message-ID: 80526420-60b5-4ad9-8ce7-a4ba20a90959@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12.09.25 15:49, Tom Lane wrote:
> Peter Eisentraut <peter(at)eisentraut(dot)org> writes:
>> I propose the attached patch to fix this. I think this restores the
>> original meaning better.
>
> I'm okay with this wording change, but I would stay with
> ERRCODE_FEATURE_NOT_SUPPORTED rather than calling this
> a "syntax error". It's not a syntax error IMV, but a
> potential feature that we have deliberately left syntax
> space for, even though we don't yet have ideas about
> a workable implementation.

Ok, done that way.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Damien Clochard 2025-09-15 10:40:15 Re: [PATCH] Generate random dates/times in a specified range
Previous Message Madhukar . 2025-09-15 09:31:07 AioCtl Shared Memory size fix