Creating trigger function with argument(s) gets backend crash.

Поиск
Список
Период
Сортировка
От Satoshi Nagayasu
Тема Creating trigger function with argument(s) gets backend crash.
Дата
Msg-id 42CB9D6C.9020209@nttdata.co.jp
обсуждение исходный текст
Ответы Re: Creating trigger function with argument(s) gets backend crash.  (Michael Fuhr <mike@fuhr.org>)
Re: Creating trigger function with argument(s) gets backend crash.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Creating trigger function with argument(s) gets backend crash.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi all,

When I attempted to create a trigger function with argument(s),
the backend got crashed.

I know this operation is wrong, however I think the backend crash
mustn't be occured, it should be a syntax error or something like that.

Is this a bug, or just my mistake(or misunderstanding)?

Now I'm working on CVS tree retreived on 2005/07/01.

Thanks.
------------------------------------------------------------
snaga=# CREATE FUNCTION t1_trig_func(integer) RETURNS trigger
snaga-# AS '
snaga'# BEGIN
snaga'#   RAISE NOTICE ''foo'';
snaga'# END
snaga'# ' LANGUAGE 'plpgsql';
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
!> \q
------------------------------------------------------------

--
NAGAYASU Satoshi <nagayasus@nttdata.co.jp>

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Thanh Q Lam
Дата:
Сообщение: Error installing Postgres on Solaris 9
Следующее
От: "Denis Vlasenko"
Дата:
Сообщение: BUG #1756: PQexec eats huge amounts of memory