Commit 0083a824 authored by Magnus Hagander's avatar Magnus Hagander

Fix some spelling errors in the documentation

Author: Daniel Gustafsson <daniel@yesql.se>
parent fbec7459
...@@ -8478,7 +8478,7 @@ main(int argc, char **argv) ...@@ -8478,7 +8478,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)
...@@ -8648,7 +8648,7 @@ main(int argc, char **argv) ...@@ -8648,7 +8648,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)
...@@ -8875,7 +8875,7 @@ main(int argc, char **argv) ...@@ -8875,7 +8875,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)
{ {
......
...@@ -933,7 +933,7 @@ main(int argc, char **argv) ...@@ -933,7 +933,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)
......
...@@ -377,7 +377,7 @@ ...@@ -377,7 +377,7 @@
some care must be taken when truncating groups of tables connected by some care must be taken when truncating groups of tables connected by
foreign keys. When replicating a truncate action, the subscriber will foreign keys. When replicating a truncate action, the subscriber will
truncate the same group of tables that was truncated on the publisher, truncate the same group of tables that was truncated on the publisher,
either explictly specified or implicitly collected via either explicitly specified or implicitly collected via
<literal>CASCADE</literal>, minus tables that are not part of the <literal>CASCADE</literal>, minus tables that are not part of the
subscription. This will work correctly if all affected tables are part subscription. This will work correctly if all affected tables are part
of the same subscription. But if some tables to be truncated on the of the same subscription. But if some tables to be truncated on the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment