Simplifying pg_am representation of index sortability

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Simplifying pg_am representation of index sortability
Дата
Msg-id 14859.1169328573@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Simplifying pg_am representation of index sortability  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
With the just-committed changes in PathKey representation, the core
backend is now pretty well invested in the assumption that index AMs
that can deliver sorted results will use btree-compatible strategy
numbers for their order-related operators.  This doesn't seem to me
to be any huge limitation (a new AM might possibly define additional
operator strategies, but that needn't stop it from using 1-5 with
the same meanings as btree).  So I'm thinking that the pg_am columns
amorderstrategy and amdescorder are redundant and should be replaced
with a simple boolean, "amcansort" perhaps.  Any objections?
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Indicate disabled triggers in \d
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: XML regression test failure