From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nate Carson <nate1001@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5777: Server crash with function out params returned as record
Date: Tue, 30 Nov 2010 22:36:43 -0500
Message-ID: <12729.1291174603@sss.pgh.pa.us> (raw)
In-Reply-To: <201012010246.oB12k79I015617@wwwmaster.postgresql.org>
References: <201012010246.oB12k79I015617@wwwmaster.postgresql.org>
"Nate Carson" <nate1001@gmail.com> writes:
> create or replace function test(out integer, out numeric)
> as $$
> select (1, 2.1)
> $$
> language sql;
> test=# select * from test();
> server closed the connection unexpectedly
Huh ... seems that's been broken since 8.1. Surprising nobody noticed
before. Thanks for the report!
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, nate1001@gmail.com
Subject: Re: BUG #5777: Server crash with function out params returned as record
In-Reply-To: <12729.1291174603@sss.pgh.pa.us>
References: <201012010246.oB12k79I015617@wwwmaster.postgresql.org> <12729.1291174603@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox