Bug report for 7.0beta1 in 'CREATE FUNCTION...'

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Bug report for 7.0beta1 in 'CREATE FUNCTION...'
Дата
Msg-id Pine.BSF.4.21.0002292110250.434-100000@thelab.hub.org
обсуждение исходный текст
Ответы RE: [HACKERS] Bug report for 7.0beta1 in 'CREATE FUNCTION...'  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список 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 по дате отправления:

Предыдущее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] Re: NOT {NULL|DEFERRABLE} (was: bug in 7.0)
Следующее
От: The Hermit Hacker
Дата:
Сообщение: minor bug in 7.0: casting