public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: mao zhang <[email protected]>
Cc: [email protected]
Subject: Re: FATAL: operator class "xxxx" does not exist for access method "btree"
Date: Tue, 18 Jul 2023 23:10:22 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAHK7YHh3FLaTWD-vUZ3KJAM6xnwzNBo+xEJVYUXwjP5R2GT2gA@mail.gmail.com>
References: <CAHK7YHh3FLaTWD-vUZ3KJAM6xnwzNBo+xEJVYUXwjP5R2GT2gA@mail.gmail.com>
mao zhang <[email protected]> writes:
> running bootstrap script ... 2023-07-19 09:40:47.083 CST [2808392] FATAL:
> operator class "key_ops" does not exist for access method "btree"
I'm not sure what you find so mysterious about that error message.
> Oid global_key_id;
> ...
> DECLARE_UNIQUE_INDEX(pg_bm_client_global_keys_args_oid_index,8063,BmClientGlobalKeysArgsOidIndexId,on pg_bm_client_global_keys_args using btree(global_key_id key_ops));
If global_key_id is an OID, why aren't you declaring its index
with opclass oid_ops, rather than the quite nonexistent "key_ops"?
regards, tom lane
view thread (3+ 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: FATAL: operator class "xxxx" does not exist for access method "btree"
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