Re: [Dbix-class] Re: [Catalyst] Session::Store::DBIC and session table (postgres)
On Wed, Nov 21, 2012 at 11:43 AM, Peter Rabbitson rabbit+d...@rabbit.uswrote: Please test and let us know if current DBIC master solves the issue in this thread. Thanks! Everything is working smoothly now. (installed GETTY/DBIx-Class-0.08204.tar.gz from the git master) -- fernan ___ 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/dbix-class@lists.scsys.co.uk
Re: [Dbix-class] Re: [Catalyst] Session::Store::DBIC and session table (postgres)
On Thu, Nov 15, 2012 at 10:31:21AM -0300, Fernan Aguero wrote: So, apparently the problem is calling delete() right on the resultset object. For some reason that eludes me, DBIC is not fully qualifying the table in this case. This is a known issue, RT#80015. Should be fixed shortly (hopefully before next weekend). In the meantime use $rs-delete_all, which in essence is your workaround, just a little more efficient. ___ 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/dbix-class@lists.scsys.co.uk
Re: [Dbix-class] Re: [Catalyst] Session::Store::DBIC and session table (postgres)
On Thu, Nov 15, 2012 at 10:38 AM, Peter Rabbitson rabbit+d...@rabbit.uswrote: On Thu, Nov 15, 2012 at 10:31:21AM -0300, Fernan Aguero wrote: So, apparently the problem is calling delete() right on the resultset object. For some reason that eludes me, DBIC is not fully qualifying the table in this case. This is a known issue, RT#80015. Should be fixed shortly (hopefully before next weekend). In the meantime use $rs-delete_all, which in essence is your workaround, just a little more efficient. Great! Will patch my code (and Session::Store::DBIC) with your suggestion until then. Thanks! -- fernan ___ 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/dbix-class@lists.scsys.co.uk