diff options
| author | Robert Haas <rhaas@postgresql.org> | 2017-05-19 15:48:10 -0400 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2017-05-19 15:48:10 -0400 |
| commit | aa41bc794c51a4d5c364cca014c199b1a00d26aa (patch) | |
| tree | bf0fd94293a8db936cf60d9ba64a163fd18ec163 /doc/src | |
| parent | b522759508dae17535f8cd20598a50a409a97f4d (diff) | |
Capitalize SHOW when testing whether target_session_attrs=read-write.
This makes it also work for replication connections.
Report and patch by Daisuke Higuchi.
Discussion: http://postgr.es/m/1803D792815FC24D871C00D17AE95905B1A34A@g01jpexmbkw24
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/libpq.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index bf95b0badac..d20d3140821 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1425,7 +1425,7 @@ postgresql://%2Fvar%2Flib%2Fpostgresql/dbname If this parameter is set to <literal>read-write</literal>, only a connection in which read-write transactions are accepted by default is considered acceptable. The query - <literal>show transaction_read_only</literal> will be sent upon any + <literal>SHOW transaction_read_only</literal> will be sent upon any successful connection; if it returns <literal>on</>, the connection will be closed. If multiple hosts were specified in the connection string, any remaining servers will be tried just as if the connection |
