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

Re: plperl features

From: Sergej Sergeev <sergej(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: plperl features
Date: 2004-09-30 16:28:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
>Sergej Sergeev <sergej(at)commandprompt(dot)com> writes:
>>>What happens if you feed other pseudotypes, like cstring or
>>>language_handler?  Shouldn't that be disallowed or something?
>>Other pseudo-types are disallowed (no-change)
>No, because you diked out the check at lines 1452ff, rather than
>upgrading it to something correct.
>I find the "fn_retispseudo" and "arg_is_p" flags pretty bogus anyway
>since they fail to indicate *which* pseudotype it is.  You might as
>well just test for the specific type OID.
>			regards, tom lane
New patch. I have added the check pseudo-type argumetns.
Specific type is substituted in runtime, during function call.

g.gRay: PL/perl, PL/PHP ;)

Attachment: plperl.patch
Description: text/plain (6.5 KB)

In response to


pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-09-30 16:37:39
Subject: consultant
Previous:From: JEDIDIAHDate: 2004-09-30 15:54:50
Subject: Re: [HACKERS] Point in Time Recovery

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