Re: FATAL: operator class "xxxx" does not exist for access method "btree"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FATAL: operator class "xxxx" does not exist for access method "btree"
Дата
Msg-id 134517.1689736222@sss.pgh.pa.us
обсуждение исходный текст
Ответ на FATAL: operator class "xxxx" does not exist for access method "btree"  (mao zhang <mzhang2048@gmail.com>)
Ответы Re: FATAL: operator class "xxxx" does not exist for access method "btree"  (mao zhang <mzhang2048@gmail.com>)
Список pgsql-hackers
mao zhang <mzhang2048@gmail.com> 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_argsusing 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Generating code for query jumbling through gen_node_support.pl