CREATE FUNCTION [...] AS '' LANGUAGE 'sql' crashes backend

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема CREATE FUNCTION [...] AS '' LANGUAGE 'sql' crashes backend
Дата
Msg-id 200108111916.f7BJGBR73374@hub.org
обсуждение исходный текст
Ответы Re: CREATE FUNCTION [...] AS '' LANGUAGE 'sql' crashes backend  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tim Landscheidt (tim.landscheidt@gmx.de) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
CREATE FUNCTION [...] AS '' LANGUAGE 'sql' crashes backend

Long Description
Using "PostgreSQL 7.0.3 on i686-pc-linux-gnu, compiled by gcc 2.96" on Red Hat 7.1
(postgresql-server-7.0.3-8.i386.rpm),an empty function definition crashes the backend. Obviously, defining empty
functionsis a quite obscure passion in the first place, but PostgreSQL could be a little more polite telling that. 

Sample Code
> CREATE FUNCTION blah_blah (INT) RETURNS INT AS '' LANGUAGE 'sql';
< 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.

No file was uploaded with this report

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: create view bug
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CREATE FUNCTION [...] AS '' LANGUAGE 'sql' crashes backend