aboutsummaryrefslogtreecommitdiffstats
path: root/db/postgres/create_db.pgsql
blob: 3c5222194338fd4d73e3a8bba0e5ca3691ac6013 (plain) (blame)
1
2
SELECT 'CREATE DATABASE irc'
WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'irc')\gexec