Re: Use UNKNOWN with PL/Perl spi_prepare()? - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Use UNKNOWN with PL/Perl spi_prepare()?
Date
Msg-id F36E8D59-973C-4125-8D6D-499ED320420F@kineticode.com
Whole thread Raw
In response to Re: Use UNKNOWN with PL/Perl spi_prepare()?  (Andrew Dunstan <andrew@dunslane.net>)
List 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
specifiedtype 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



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Use UNKNOWN with PL/Perl spi_prepare()?
Next
From: Tom Lane
Date:
Subject: Re: Proposal: Add JSON support