Re: Use UNKNOWN with PL/Perl spi_prepare()?

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>, Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>
Subject: Re: Use UNKNOWN with PL/Perl spi_prepare()?
Date: 2010-04-07 00:02:25
Message-ID: F36E8D59-973C-4125-8D6D-499ED320420F@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Apr 6, 2010, at 4:55 PM, Andrew Dunstan wrote:

> Indeed it doesn't. But (as documented) the argument will be passed *from* *perl* as text and converted to the specified type in the glue code. See plperl.c for details.

Hrm. If the type is unknown, I think it should just be passed as a string and left to the back end to figure out.

Best,

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-04-07 00:06:57 Re: Use UNKNOWN with PL/Perl spi_prepare()?
Previous Message David E. Wheeler 2010-04-07 00:01:49 Re: Use UNKNOWN with PL/Perl spi_prepare()?