Inline postgres_user_exists,postgres_database_ready functions for stability.