[PATCH] Doc: improve documentation of oid columns that can be zero. (correct version)

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. (correct version)
Date: 2021-01-31 13:27:53
Message-ID: 4ed9a372-7bf9-479a-926c-ae8e774717a8@www.fastmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Please ignore previous email, the attached file was 0 bytes.
Here comes the patch again, now including data.

--

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.

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2021-01-31 15:17:33 Re: Proposal: Save user's original authenticated identity for logging
Previous Message Joel Jacobson 2021-01-31 13:22:32 [PATCH] Doc: improve documentation of oid columns that can be zero.