Content-Length: 272350 | pFad | http://github.com/postgrespro/postgres_cluster/commit/0f33ee0e3b7527fb0c88abf0ae8a49a9c38d9c0e

2C Fix docs to not claim ECPG's SET CONNECTION is not thread-aware. · postgrespro/postgres_cluster@0f33ee0 · GitHub
Skip to content

Commit 0f33ee0

Browse files
author
Michael Meskes
committed
Fix docs to not claim ECPG's SET CONNECTION is not thread-aware.
Changed by: Tsunakawa, Takayuki <tsunakawa.takay@jp.fujitsu.com>
1 parent c1abe6c commit 0f33ee0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/src/sgml/ecpg.sgml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,7 @@ EXEC SQL AT <replaceable>connection-name</replaceable> SELECT ...;
240240
<para>
241241
If your application uses multiple threads of execution, they cannot share a
242242
connection concurrently. You must either explicitly control access to the connection
243-
(using mutexes) or use a connection for each thread. If each thread uses its own connection,
244-
you will need to use the AT clause to specify which connection the thread will use.
243+
(using mutexes) or use a connection for each thread.
245244
</para>
246245

247246
<para>
@@ -251,7 +250,7 @@ EXEC SQL AT <replaceable>connection-name</replaceable> SELECT ...;
251250
EXEC SQL SET CONNECTION <replaceable>connection-name</replaceable>;
252251
</programlisting>
253252
This option is particularly convenient if many statements are to be
254-
executed on the same connection. It is not thread-aware.
253+
executed on the same connection.
255254
</para>
256255

257256
<para>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/0f33ee0e3b7527fb0c88abf0ae8a49a9c38d9c0e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy