[PATCH] Doc: improve documentation of oid columns that can be zero.

From: "Joel Jacobson" <joel(at)compiler(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] Doc: improve documentation of oid columns that can be zero.
Date: 2021-01-31 13:22:32
Message-ID: a47e5a76-07c0-4de0-bfbf-93077107658a@www.fastmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Doc: improve documentation of oid columns that can be zero.

pg_attribute.atttypid
Zero if column is dropped.

pg_class.relam
Can be zero, e.g. for views.

pg_depend.classid
Zero for pinned objects.

pg_language.lanplcallfoid
Zero for internal languages.

pg_operator.oprcode
Zero if none.

pg_operator.oprcom
Zero if none.

pg_operator.oprjoin
Zero if none.

pg_operator.oprnegate
Zero if none.

pg_operator.oprrest
Zero if none.

pg_operator.oprresult
Zero if none.

pg_policy.polroles
Array with a zero element if none.

pg_shdepend.classid
Zero for pinned objects (deptype='p'),
meaning there is no dependent object.

pg_shdepend.objid
Zero if none.

pg_trigger.tgconstrindid
Zero if none.

pg_trigger.tgconstrrelid
Zero if none.

doc/src/sgml/catalogs.sgml | 34 ++++++++++++++++++----------------
1 file changed, 18 insertions(+), 16 deletions(-)

Attachment Content-Type Size
document-all-zero-if-none-cases.patch application/octet-stream 0 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Jacobson 2021-01-31 13:27:53 [PATCH] Doc: improve documentation of oid columns that can be zero. (correct version)
Previous Message Magnus Hagander 2021-01-31 11:27:47 Re: Proposal: Save user's original authenticated identity for logging