From: | Vivek Khera <vivek(at)khera(dot)org> |
---|---|
To: | PG-General General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Perl::DBI and interval syntax |
Date: | 2005-11-08 18:41:56 |
Message-ID: | 1A0C4854-A812-4603-9351-73832126E6D1@khera.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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.
From | Date | Subject | |
---|---|---|---|
Next Message | John D. Burger | 2005-11-08 19:14:58 | Re: Beyond the 1600 columns limit on windows |
Previous Message | Sigurdur Gunnlaugsson | 2005-11-08 18:29:07 | Re: Connect to a database in a .sql file |