"Alex Hunsaker" <badalex(at)gmail(dot)com> 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 ...
regards, tom lane