On Thu, 2007-03-15 at 01:40 -0400, Tom Lane wrote: > SM <[EMAIL PROTECTED]> writes: > > I got a backend crash in Postgresql 8.2.3 with the plpgsql function. > > The following statement in psql causes a signal 11: > > psql=# create function testpl() returns void as 'begin return; > > end;'language 'plpgsql'; > > Worksforme ...
Works for me too. csb=# select version(); version ------------------------------------------------------------------------------------------------------------------ PostgreSQL 8.2.3 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux) csb=# create function testpl() returns void as 'begin return; csb'# end;'language 'plpgsql'; CREATE FUNCTION csb=# select testpl(); testpl -------- (1 row) -- Reece Hart, http://harts.net/reece/, GPG:0x25EC91A0 ./universe -G 6.672e-11 -e 1.602e-19 -protonmass 1.673e-27 -uspres bush kernel warning: universe consuming too many resources. Killing. universe killed due to catastrophic leadership. Try -uspres carter. ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend