Re: 8.3.0 backend segfaults - Mailing list pgsql-bugs

From Alex Hunsaker
Subject Re: 8.3.0 backend segfaults
Date
Msg-id 34d269d40803121300o3c8347dfm3dae9555b262d529@mail.gmail.com
Whole thread Raw
In response to Re: 8.3.0 backend segfaults  ("Alex Hunsaker" <badalex@gmail.com>)
List pgsql-bugs
err that should be (forgot the username, password placeholders)

> my $db = DBI->connect('dbi:Pg:dbname=test;', '', '', {'pg_server_prepare'=>1, 'pg_prepare_now'=>1}) || die "could not
connect:$!"; 
>  $db->do('create table junk (junk text, junk_id int);');
>  $db->do('create sequence junk_seq;');
>  $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;");
>
>  my $sth = $db->prepare('select * from junk where junk = ? and junk_id
>  = junk_func(1) limit 1;');
>
>  $db->do('vacuum junk;');
>  $db->begin_work();
>
>  $db->do('select nextval(\'junk_seq\');');
>
>  $sth->execute('test') || die "failed: $!";
>  $sth->fetchall_arrayref();
>
>  $db->disconnect();
>

pgsql-bugs by date:

Previous
From: "Alex Hunsaker"
Date:
Subject: Re: 8.3.0 backend segfaults
Next
From: "Alex Hunsaker"
Date:
Subject: Re: 8.3.0 backend segfaults