postgres=#
postgres=# CREATE FUNCTION "first" () RETURNS integer AS '
postgres'# DecLarE
postgres'# oNe IntEgER := 1;
postgres'# bEGiN
postgres'# ReTUrn oNE;
postgres'# eNd;
postgres'# ' LANGUAGE 'plpgsql';
CREATE FUNCTION
postgres=#
postgres=# select first();
first
-------
1
(1 row)
postgres=#