mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Update /contrib for "autocommit TO 'on'".
Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
This commit is contained in:
@ -245,6 +245,10 @@ sql_conn(const char *dbName, struct options * my_opts)
|
||||
if (pgpass != NULL)
|
||||
free(pgpass);
|
||||
|
||||
sql_exec(conn, "SET search_path = public;", 0);
|
||||
|
||||
sql_exec(conn, "SET autocommit TO 'on';", 0);
|
||||
|
||||
/* return the conn if good */
|
||||
return conn;
|
||||
}
|
||||
|
Reference in New Issue
Block a user