sql2DB.pl doesn't die when a DROP table command fails because of permission errors.
This was on postgres in the drop_tables iterator of initdb. The initdb component still fails when it reaches the following "Drop all remaining tables" step.
The logger will output a statement such as:
Logger::Coati::Coati::CoatiDB WARN Mon Apr 27 10:18:27 2009 agussman-lx.igs.umaryland.edu:9561 /usr/local/projects/ergatis/package-devel/lib/perl5/Coati/Coati/CoatiDB.pm:Coati::Coati::CoatiDB:Log::Cabin::Foundation::warn:394 || Query Execution Error%%SQL/Database%%There is a query that could not be executed. Please check the query syntax, arguments, and database schema%%ERROR: must be owner of relation stockcollectionprop
%%harmogene%% DROP TABLE stockcollectionprop %%%%
This can be duplicated by running initdb as one user and then again as another user.