Bug report for 7.0beta1 in 'CREATE FUNCTION...' - Mailing list pgsql-hackers

From The Hermit Hacker
Subject Bug report for 7.0beta1 in 'CREATE FUNCTION...'
Date
Msg-id Pine.BSF.4.21.0002292110250.434-100000@thelab.hub.org
Whole thread Raw
Responses RE: [HACKERS] Bug report for 7.0beta1 in 'CREATE FUNCTION...'
List pgsql-hackers
Can someone look into this, and followup with Don? :)

====================
From: Don Baccus <dhogaza@pacifier.com>

Slightly less minor bug.  Forward this to the right place, too.

acs=# create function foo() returns integer as '
acs'# begin
acs'# create table bar(i integer);
acs'# return 1;
acs'# end;' language 'plpgsql';
CREATE
acs=# select foo();
pqReadData() -- backend closed the channel unexpectedly.       This probably means the backend terminated abnormally
  before or while processing the request.
 
The connection to the server was lost. Attempting reset: Failed.
!# 


DML statements apparently aren't meant to be supported in plpgsql,
since any I try crash.  This, again, is PG7.0 beta.
=====================



Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



pgsql-hackers by date:

Previous
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] Re: NOT {NULL|DEFERRABLE} (was: bug in 7.0)
Next
From: The Hermit Hacker
Date:
Subject: minor bug in 7.0: casting