public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: jian he <[email protected]>
Cc: Yugo NAGATA <[email protected]>
Cc: PostgreSQL-development <[email protected]>
Subject: Re: minor error message inconsistency in make_pathkey_from_sortinfo
Date: Thu, 25 Apr 2024 11:07:46 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CACJufxGc3Ewc1MKm6qRpYe=kfHK_zbZ2OWVUsopbQSOHkpTgQA@mail.gmail.com>
References: <CACJufxGNJqR79WEwBRw9g2DB-6WhNcJs1uuG7KnTGA5ouM6eug@mail.gmail.com>
<[email protected]>
<CACJufxGc3Ewc1MKm6qRpYe=kfHK_zbZ2OWVUsopbQSOHkpTgQA@mail.gmail.com>
jian he <[email protected]> writes:
> On Wed, Apr 24, 2024 at 5:47 PM Yugo NAGATA <[email protected]> wrote:
>> This message was introduced by 278cb434110 which was aiming to
>> standardize the wording for similar errors. We can find the pattern
>> "missing {support function | operator} %d(%u,%u) in opfamily %u"
>> in several places.
> the error message
> ` operator %d`
> would translate to
> ` operator 3`
> but there is oid as 3 operator in the catalog.
> that's my confusion.
That number is the opclass' operator strategy number, not an OID
(which is why it's formatted as %d not %u). See
https://www.postgresql.org/docs/devel/xindex.html#XINDEX-STRATEGIES
regards, tom lane
view thread (5+ messages)
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]
Subject: Re: minor error message inconsistency in make_pathkey_from_sortinfo
In-Reply-To: <[email protected]>
* 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