Re: Documentation of pg_index.indcollation missing some info in olderversions?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Documentation of pg_index.indcollation missing some info in olderversions?
Дата
Msg-id 1c3e6189-ef76-a5e1-5062-69f0957e05bc@2ndquadrant.com
обсуждение исходный текст
Ответ на Documentation of pg_index.indcollation missing some info in olderversions?  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
On 22.06.18 00:35, PG Doc comments form wrote:
> because 0::OID does not reference a valid pg_collation.oid.
> 
> In the IRC, Zr40 helpfully pointed out that the latest documentation readily
> clarifies: "For each column in the index key, this contains the OID of the
> collation to use for the index, or zero if the column is not of a collatable
> data type."

It's a standard convention in the PostgreSQL system catalogs that OID
zero means "none".  There are likely many places where this is not
explicitly documented.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: \i and \ir separated by \if now...
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: \i and \ir separated by \if now...