diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index 0fef9bfcbe..c4412ba99c 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -199,6 +199,13 @@ EXEC SQL CONNECT TO target AS
any keyword or value,
though not within or after one. Note that there is no way to
write & within a value.
+
+ Also note that if you want to specify the socket directory
+ for Unix-domain communications, an option host=
+ and single-quoted string must be used.
+ The notation rule is almost the same as libpq's one,
+ but the IPv6 address cannot be used here.
+