[Dbix-class] Bind parameters in select list and group by on Pg
Peter Rabbitson
rabbit+dbic at rabbit.us
Fri Oct 28 14:38:38 GMT 2011
On Fri, Oct 28, 2011 at 07:22:25AM -0700, dorian taylor wrote:
> On Fri, Oct 28, 2011 at 6:47 AM, Peter Rabbitson <rabbit+dbic at rabbit.us> wrote:
>
> > Perhaps this:
>
> Yes. Setting pg_server_prepare to 0 makes it work. Now the question is
> how to get that into DBIx::Class?
>
Currently there is no clean way to do it on per-query basis. THere is a
plan and everything, but I got sidetracked with too much other bullshit.
In the meantime:
{
local $schema->storage->dbh->{pg_server_prepare} = 0;
<do stuff>
}
More information about the DBIx-Class
mailing list