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

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Use UNKNOWN with PL/Perl spi_prepare()?
Дата
Msg-id 4BBBD09D.8030605@dunslane.net
обсуждение исходный текст
Ответ на Re: Use UNKNOWN with PL/Perl spi_prepare()?  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: Use UNKNOWN with PL/Perl spi_prepare()?
Список pgsql-hackers

David E. Wheeler wrote:
> Yes, I would use unknown, because as you said, in Perl the types of values are unknown.
>
> DBD::Pg makes extensive use of unknown for prepares. 
>   

It has been suggested in the past that we should have a full DBD 
interface in plperl, and indeed there was such an animal at one stage, 
although it was not compatibly licensed, and it is probably now way out 
of date.

The current plperl interface back into the database is a *much* thinner 
veneer over SPI than a DBD interface would be. Someone could start a 
project for a DBD interface for plperl, but it would be a non-trivial 
amount of work, and it should probably not be done piecemeal.

cheers

andrew


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Use UNKNOWN with PL/Perl spi_prepare()?
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Use UNKNOWN with PL/Perl spi_prepare()?