On Fri, Oct 28, 2011 at 07:22:25AM -0700, dorian taylor wrote:
> On Fri, Oct 28, 2011 at 6:47 AM, Peter Rabbitson <[email protected]>
> 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>
}
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]