You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-01-12 22:51:27 +03:00
create the plpgsql language if it is not already there; will error if already enabled, but we will just ignore this - this may cause issues if the db user does not have priviledges to create language ... if this is the case the next query will fail
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@738 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
@@ -1118,6 +1118,7 @@ function upgrade_730_pgsql() {
|
||||
$table_quota = table_by_key('quota');
|
||||
$table_quota2 = table_by_key('quota2');
|
||||
|
||||
db_query_parsed('CREATE LANGUAGE plpgsql', 1); /* will error if plpgsql is already installed */
|
||||
# trigger for dovecot v1.0 & 1.1 quota table
|
||||
# taken from http://wiki.dovecot.org/Quota/Dict
|
||||
db_query_parsed("
|
||||
|
||||
Reference in New Issue
Block a user