Re: [HACKERS] A small problem with the new inet and cidr types - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] A small problem with the new inet and cidr types
Date
Msg-id 363FC106.9E4893C6@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] A small problem with the new inet and cidr types  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] A small problem with the new inet and cidr types  (jwieck@debis.com (Jan Wieck))
List pgsql-hackers
> * redesign the function call interface to handle NULLs better

I was planning on looking at this for v6.5, at least in the context of
trying to solve the problem of returning NULL for pass-by-value types.

We should have some discussion of pass-by-value vs. pass-by-reference
and whether it is worth having both mechanisms for common data types. As
it is, functions which return int2 or int4 cannot return NULL because
there is no way to represent that with these types. I was thinking of
implementing true smallint/integer pass-by-reference types to clean this
up.
                     - Tom


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Warning!!
Next
From: A James Lewis
Date:
Subject: Re: [HACKERS] Warning!!