renamed file create_pgsql