On Wed, Mar 12, 2008 at 10:31 AM, Tom Lane <[EMAIL PROTECTED]> wrote: > "Alex Hunsaker" <[EMAIL PROTECTED]> writes: > > > Here is what im trying right now with no success: > > > > my $sth = $db->prepare_cached('select * from junk left join > > junk as j on j.junk = junk.junk where junk.junk like ? limit 1;'); > > You need to duplicate more of the original query structure to provoke > the problem, likely. The crash appeared to involve evaluation of an > immutable SQL function ...
Will do. Just for the record its defined as create or replace function data_class(text) returns integer as 'select data_class from data_classes where data_id = $1 and defunct = 0' language 'sql' stable strict; -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs