Skip to content

Commit 9d1758d

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 f2fa0c6 commit 9d1758d

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
@@ -238,8 +238,7 @@ EXEC SQL AT <replaceable>connection-name</replaceable> SELECT ...;
238238
<para>
239239
If your application uses multiple threads of execution, they cannot share a
240240
connection concurrently. You must either explicitly control access to the connection
241-
(using mutexes) or use a connection for each thread. If each thread uses its own connection,
242-
you will need to use the AT clause to specify which connection the thread will use.
241+
(using mutexes) or use a connection for each thread.
243242
</para>
244243

245244
<para>
@@ -249,7 +248,7 @@ EXEC SQL AT <replaceable>connection-name</replaceable> SELECT ...;
249248
EXEC SQL SET CONNECTION <replaceable>connection-name</replaceable>;
250249
</programlisting>
251250
This option is particularly convenient if many statements are to be
252-
executed on the same connection. It is not thread-aware.
251+
executed on the same connection.
253252
</para>
254253

255254
<para>

0 commit comments

Comments
 (0)