如果使用plpgsql
需要先运行这个命令:
CREATE LANGUAGE plpgsql
不然会报错:
关于如何些存储过程,这里说的很全面了
http://bianbian.org/technology/52.html
postgre官网解说
http://www.postgresql.org/docs/8.3/static/plpgsql.html
需要先运行这个命令:
CREATE LANGUAGE plpgsql
不然会报错:
ERROR: language "plpgsql" does not exist
关于如何些存储过程,这里说的很全面了
http://bianbian.org/technology/52.html
postgre官网解说
http://www.postgresql.org/docs/8.3/static/plpgsql.html