Re: 8.3.0 backend segfaults

From: "Alex Hunsaker" <badalex(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 8.3.0 backend segfaults
Date: 2008-03-12 20:09:42
Message-ID: 34d269d40803121309g19aa9a86l7d78a674e1f80695@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Mar 12, 2008 at 1:59 PM, Alex Hunsaker <badalex(at)gmail(dot)com> wrote:
> $db->do("create or replace function junk_func(int) returns integer as
> 'select junk_id from junk where junk_id = \$1;' language 'sql' stable
> strict;");
>

Another oddity

works: create or replace function junk_func() returns integer as
'select 1;' language 'sql' volatile strict;
works: create or replace function junk_func() returns integer as
'select 1 limit 1;' language 'sql' stable strict;

segfaults: create or replace function junk_func() returns integer as
'select 1;' language 'sql' stable strict;

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-03-12 20:38:01 Re: 8.3.0 backend segfaults
Previous Message Alex Hunsaker 2008-03-12 20:00:57 Re: 8.3.0 backend segfaults