Re: Perl::DBI and interval syntax

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: Perl::DBI and interval syntax
Дата
Msg-id 1A0C4854-A812-4603-9351-73832126E6D1@khera.org
обсуждение исходный текст
Ответ на Re: Perl::DBI and interval syntax  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-general
On Nov 8, 2005, at 8:16 AM, Greg Sabino Mullane wrote:

> This is correct. Though generally not recommeded, you can switch it
> off
> with the pg_server_prepare attribute like so:
>
> $dbh->{pg_server_prepare} = 0;
>
> This will force DBD::Pg to do the quoting itself, with the subsequent
> penalty of speed and loss of auto type casting.

And a reduction in bugs... :-(

One I found the other day: if you set $dbh->{InactiveDestroy} it
still destroys all of your prepared statements.  Context is when you
fork a child which needs to open its own connection, and the parent's
prepared statements go away.

Need to find some tuits to file the formal bug report.


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

Предыдущее
От: Sigurdur Gunnlaugsson
Дата:
Сообщение: Re: Connect to a database in a .sql file
Следующее
От: Alex Mayrhofer
Дата:
Сообщение: Re: upgrading from backend version 811 to 812