fixed PostgreSQL failed to initialize table bug