PostgreSQL/Postgre SQL/plpgsql
Версия от 13:45, 26 мая 2010; (обсуждение)
plpgsql is case insensitive
postgres=# CREATE FUNCTION "mixed" () RETURNS integer AS "
postgres"# DecLarE
postgres"# --assigns 1 to the oNe variable
postgres"# oNe IntEgER
postgres"# := 1;
postgres"#
postgres"# bEGiN
postgres"#
postgres"# --displays the value of oNe
postgres"# ReTUrn oNe;
postgres"# eNd;
postgres"# " LANGUAGE "plpgsql";
CREATE FUNCTION
postgres=#
postgres=# select mixed();
mixed
-------
1
(1 row)
postgres=#