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


From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kevin McArthur <Kevin(at)StormTide(dot)ca>, pgsql-patches(at)postgresql(dot)org
Subject: Re: PLPGSQL OID Bug
Date: 2005-07-28 05:51:45
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Tom Lane wrote:
> 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.

The only reference to `isnull' in the body of exec_cast_value() is:

if (!*isnull)
     /* ... */

i.e. it is never referenced again, let alone written through. Barring 
any objections I'll apply the attached patch tomorrow.


Attachment: plpgsql_cast_isnull-1.patch
Description: text/x-patch (6.7 KB)

In response to


pgsql-patches by date

Next:From: Gavin SherryDate: 2005-07-28 06:00:24
Subject: Re: [HACKERS] Duplicate object names in GRANT
Previous:From: Tom LaneDate: 2005-07-28 04:41:14
Subject: Re: AIX - pgport/contrib resolution

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