mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Fix some spelling errors in the documentation
Author: Daniel Gustafsson <daniel@yesql.se>
This commit is contained in:
@@ -7838,7 +7838,7 @@ main(int argc, char **argv)
|
|||||||
exit_nicely(conn);
|
exit_nicely(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set always-secure search path, so malicous users can't take control. */
|
/* Set always-secure search path, so malicious users can't take control. */
|
||||||
res = PQexec(conn,
|
res = PQexec(conn,
|
||||||
"SELECT pg_catalog.set_config('search_path', '', false)");
|
"SELECT pg_catalog.set_config('search_path', '', false)");
|
||||||
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
||||||
@@ -8008,7 +8008,7 @@ main(int argc, char **argv)
|
|||||||
exit_nicely(conn);
|
exit_nicely(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set always-secure search path, so malicous users can't take control. */
|
/* Set always-secure search path, so malicious users can't take control. */
|
||||||
res = PQexec(conn,
|
res = PQexec(conn,
|
||||||
"SELECT pg_catalog.set_config('search_path', '', false)");
|
"SELECT pg_catalog.set_config('search_path', '', false)");
|
||||||
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
||||||
@@ -8234,7 +8234,7 @@ main(int argc, char **argv)
|
|||||||
exit_nicely(conn);
|
exit_nicely(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set always-secure search path, so malicous users can't take control. */
|
/* Set always-secure search path, so malicious users can't take control. */
|
||||||
res = PQexec(conn, "SET search_path = testlibpq3");
|
res = PQexec(conn, "SET search_path = testlibpq3");
|
||||||
if (PQresultStatus(res) != PGRES_COMMAND_OK)
|
if (PQresultStatus(res) != PGRES_COMMAND_OK)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -899,7 +899,7 @@ main(int argc, char **argv)
|
|||||||
exit_nicely(conn);
|
exit_nicely(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set always-secure search path, so malicous users can't take control. */
|
/* Set always-secure search path, so malicious users can't take control. */
|
||||||
res = PQexec(conn,
|
res = PQexec(conn,
|
||||||
"SELECT pg_catalog.set_config('search_path', '', false)");
|
"SELECT pg_catalog.set_config('search_path', '', false)");
|
||||||
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
||||||
|
|||||||
Reference in New Issue
Block a user