[HACKERS] oidin / oidout and InvalidOid - Mailing list pgsql-hackers

From Chapman Flack
Subject [HACKERS] oidin / oidout and InvalidOid
Date
Msg-id 593E7DE8.40806@anastigmatix.net
Whole thread Raw
Responses Re: [HACKERS] oidin / oidout and InvalidOid  (Andreas Karlsson <andreas@proxel.se>)
List 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



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [HACKERS] Statement-level rollback
Next
From: Ashutosh Bapat
Date:
Subject: [HACKERS] Dropping partitioned table drops a previously detached partition