On 09/19/2014 07:04 PM, hubert depesz lubaczewski wrote: > > > for i in {1..150}; do createdb -T database_source database$i; done Unless `datistemplate` is set for the database, you'll need to do this as a superuser. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general