From: | Chapman Flack <chap(at)anastigmatix(dot)net> |
---|---|
To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | oidin / oidout and InvalidOid |
Date: | 2017-06-12 11:41:28 |
Message-ID: | 593E7DE8.40806@anastigmatix.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
I was recently guilty of writing a less-than-clear SQL example
because I plain forgot whether InvalidOid was 0 (correct) or -1
(my bad).
Would there be any sense in letting oidin_subr accept the string
InvalidOid for 0? I understand that changing oidout could break
existing code outside of the tree. But what if oidout were to be
conservative in what it does, and oidin liberal in what it accepts?
-Chap
From | Date | Subject | |
---|---|---|---|
Next Message | Ashutosh Bapat | 2017-06-12 11:56:21 | Dropping partitioned table drops a previously detached partition |
Previous Message | Simon Riggs | 2017-06-12 11:12:08 | Re: Statement-level rollback |