public inbox for [email protected]
help / color / mirror / Atom feedFrom: Dean Rasheed <[email protected]>
To: Yugo Nagata <[email protected]>
Cc: John Naylor <[email protected]>
Cc: Michael Paquier <[email protected]>
Cc: Pgsql Hackers <[email protected]>
Subject: Re: Adjust error message for CREATE STATISTICS to account for expressions
Date: Wed, 1 Apr 2026 17:19:16 +0100
Message-ID: <CAEZATCX+grmuX5g2zohY4z1vviSnYru7u8AgzF=KpfWnOhc-bw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<CANWCAZYdyQzCoAiq9kybHT2RcnC1CgrxbCpyxeV3+KZn2xj2UA@mail.gmail.com>
<[email protected]>
<CANWCAZYjDSsvC6M6pas26ffbj-TZmXOHHC1-DwRM2LFa+qr3GQ@mail.gmail.com>
<[email protected]>
<CANWCAZaZeX0omWNh_ZbD_JVujzYQdRUW8UZOQ4dWh9Sg7OcAow@mail.gmail.com>
<[email protected]>
<CAEZATCX2YDkbNZrACOpeLVQKgOhqTdON20XuTqwjWhSaVqbhUQ@mail.gmail.com>
<[email protected]>
<CANWCAZaYOdb7p=xndzgDfvJ-0NN_HTyx54LVUX2i1Xs7cPSzbw@mail.gmail.com>
<[email protected]>
On Tue, 31 Mar 2026 at 15:47, Yugo Nagata <[email protected]> wrote:
>
> Yes, that sounds good to me.
>
> In particular, the following suggestion from Dean Rasheed seems like a
> good approach:
>
> > Error: cannot create extended statistics on a single column
> > Detail: Univariate statistics are already built for each individual
> > table column
I've pushed that change as part of the patch to support extended
statistics on virtual generated columns [1], since I felt that patch
already needed to change that error message.
I didn't look more widely at other error messages in that file might
benefit from having separate errdetail text.
Regards,
Dean
[1] https://www.postgresql.org/message-id/flat/[email protected]
view thread (10+ messages) latest in thread
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], [email protected], [email protected]
Subject: Re: Adjust error message for CREATE STATISTICS to account for expressions
In-Reply-To: <CAEZATCX+grmuX5g2zohY4z1vviSnYru7u8AgzF=KpfWnOhc-bw@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