[discard for server]modified createdb for postgresql 9.1