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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy