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

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: p(dot)otoole(at)uwyo(dot)edu, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Documentation of pg_index.indcollation missing some info in older versions?
Date: 2018-07-07 08:51:45
Message-ID: 1c3e6189-ef76-a5e1-5062-69f0957e05bc@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2018-07-07 15:26:49 Re: \i and \ir separated by \if now...
Previous Message Peter Eisentraut 2018-07-07 08:44:16 Re: \i and \ir separated by \if now...