Re: PLPGSQL OID Bug

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: 14377.1122519214@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Responses

Browse pgsql-patches by date

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