mirror of
https://github.com/postgres/postgres.git
synced 2025-08-22 21:53:06 +03:00
Post-feature-freeze pgindent run.
Discussion: https://postgr.es/m/15719.1523984266@sss.pgh.pa.us
This commit is contained in:
@@ -219,9 +219,9 @@ GetConnection(void)
|
||||
|
||||
/*
|
||||
* Set always-secure search path, so malicious users can't get control.
|
||||
* The capacity to run normal SQL queries was added in PostgreSQL
|
||||
* 10, so the search path cannot be changed (by us or attackers) on
|
||||
* earlier versions.
|
||||
* The capacity to run normal SQL queries was added in PostgreSQL 10, so
|
||||
* the search path cannot be changed (by us or attackers) on earlier
|
||||
* versions.
|
||||
*/
|
||||
if (dbname != NULL && PQserverVersion(tmpconn) >= 100000)
|
||||
{
|
||||
|
Reference in New Issue
Block a user