When creating tables using command as following
java -cp .:${benchpath}/lib/postgres/*:${benchpath}/lib/*:${benchpath}/dist/* -Dprop=bin/my.prop -DcommandFile=run/sql.common/tableCreates.sql ExecJDBC
If database doesn't exist, above command returns 0.