summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Kreen2007-11-19 09:57:16 +0000
committerMarko Kreen2007-11-19 09:57:16 +0000
commitc8e774f8ae10bf6ec4c67f36c71e6b26ef388da9 (patch)
tree49332b1f09c6ed00c5c83209c0d9ce16cca67f18
parente701290ff5c03c5f0addb44f9b78dd1f941f9299 (diff)
remove more mentions of statement_timeout
-rw-r--r--doc/config.txt4
-rw-r--r--sql/plproxy_init.sql3
2 files changed, 2 insertions, 5 deletions
diff --git a/doc/config.txt b/doc/config.txt
index 9009a7e..926c9ba 100644
--- a/doc/config.txt
+++ b/doc/config.txt
@@ -59,8 +59,8 @@ Timeouts/lifetime are given in seconds. If 0 or NULL then disabled.
query_timeout::
If query result does not appear in this time, the connection
- is closed. If set then also statement_timeout should be set
- and to somewhat smaller value, so it takes effect earlier.
+ is closed. If set then also `statement_timeout` should be set
+ remotely to somewhat smaller value, so it takes effect earlier.
It is meant for surviving network problems, not long queries.
disable_binary::
diff --git a/sql/plproxy_init.sql b/sql/plproxy_init.sql
index 19d444f..280eb7c 100644
--- a/sql/plproxy_init.sql
+++ b/sql/plproxy_init.sql
@@ -29,9 +29,6 @@ create or replace function
plproxy.get_cluster_config(cluster_name text, out key text, out val text)
returns setof record as $$
begin
- key := 'statement_timeout';
- val := 0;
- return next;
return;
end; $$ language plpgsql;