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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: tim(dot)landscheidt(at)gmx(dot)de, pgsql-bugs(at)postgresql(dot)org
Subject: Re: CREATE FUNCTION [...] AS '' LANGUAGE 'sql' crashes backend
Date: 2001-08-11 21:40:14
Message-ID: 16631.997566014@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> CREATE FUNCTION [...] AS '' LANGUAGE 'sql' crashes backend

7.1 does this:

regression=# CREATE FUNCTION blah_blah (INT) RETURNS INT AS '' LANGUAGE 'sql';
ERROR: function declared to return integer, but no SELECT provided

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message halturin 2001-08-12 12:18:39 BUG!!! or not?
Previous Message pgsql-bugs 2001-08-11 19:16:11 CREATE FUNCTION [...] AS '' LANGUAGE 'sql' crashes backend