Skip site navigation (1) Skip section navigation (2)


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Kevin McArthur <Kevin(at)StormTide(dot)ca>, pgsql-patches(at)postgresql(dot)org
Subject: Re: PLPGSQL OID Bug
Date: 2005-07-28 02:53:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Neil Conway <neilc(at)samurai(dot)com> writes:
> BTW, is there a reason why exec_cast_value() and friends take a bool *, 
> rather than a bool?

I think the reason is that it's both an input and an output parameter,
to handle the case where the cast function returns NULL.

This is obviously a pretty bug-prone convention, however, and so maybe
we should rethink it.

			regards, tom lane

In response to


pgsql-patches by date

Next:From: Tom LaneDate: 2005-07-28 04:41:14
Subject: Re: AIX - pgport/contrib resolution
Previous:From: Neil ConwayDate: 2005-07-28 01:38:16
Subject: Re: PLPGSQL OID Bug

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group