diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index ab76ebf2205..4312eb372bf 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -343,12 +343,6 @@ EXEC SQL DISCONNECT connection;
-
-
- DEFAULT
-
-
-
CURRENT
@@ -6879,7 +6873,6 @@ EXEC SQL DEALLOCATE DESCRIPTOR mydesc;
DISCONNECT connection_name
DISCONNECT [ CURRENT ]
-DISCONNECT DEFAULT
DISCONNECT ALL
@@ -6920,15 +6913,6 @@ DISCONNECT ALL
-
- DEFAULT
-
-
- Close the default connection.
-
-
-
-
ALL
@@ -6947,13 +6931,11 @@ DISCONNECT ALL
int
main(void)
{
- EXEC SQL CONNECT TO testdb AS DEFAULT USER testuser;
EXEC SQL CONNECT TO testdb AS con1 USER testuser;
EXEC SQL CONNECT TO testdb AS con2 USER testuser;
EXEC SQL CONNECT TO testdb AS con3 USER testuser;
EXEC SQL DISCONNECT CURRENT; /* close con3 */
- EXEC SQL DISCONNECT DEFAULT; /* close DEFAULT */
EXEC SQL DISCONNECT ALL; /* close con2 and con1 */
return 0;
@@ -7473,10 +7455,10 @@ SET CONNECTION [ TO | = ] connection_name
- DEFAULT
+ CURRENT
- Set the connection to the default connection.
+ Set the connection to the current connection (thus, nothing happens).