From: Michel Decima <michel.decima@rd.francetelecom.fr>
To: pgsql-admin@postgresql.org
Subject: possible bug in CREATE FUNCTION
Date: Thu, 26 Oct 2000 16:18:10 +0200
Message-ID: <19340920074954.12524@p-grive.issy.cnet.fr> (raw)
hello everybody,
I was trying playing with the CREATE FUNCTION statement in psql when I made
a copy/paste mistake : the function body was empty. The error message was
strange:
guanabara:~> psql
Password:
Welcome to psql, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit
decimami=# CREATE FUNCTION foo() RETURNS text 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.
!#
Is this a feature ? An error message like 'function body empty' wouldn't be
better ?
MD.
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-admin@postgresql.org
Cc: michel.decima@rd.francetelecom.fr
Subject: Re: possible bug in CREATE FUNCTION
In-Reply-To: <19340920074954.12524@p-grive.issy.cnet.fr>
References: <19340920074954.12524@p-grive.issy.cnet.fr>
* 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