1 2 3 4 5 6 7 8 9 10 11 12 13 14
#! /bin/sh . ../env.sh for db in hsrc hdst; do echo dropdb $db dropdb $db done echo createdb hsrc createdb hsrc --encoding=sql_ascii --template=template0 echo createdb hdst createdb hdst --encoding=utf-8 --template=template0