I want to create a function has "trigger" as an argument but I have to have the 'plpgsql' language to create it.
I try to run CREATE LANGUAGE plpgsql but it says I need to be superuser to create a language.
How can I create the language?
Um, you have to be a superuser, like postgres or maybe pgsql user, depending on your server setup. See http://www.postgresql.org/docs/current/interactive/sql-createlanguage.html for more.
Log in to post a comment.