diff --git a/doc/src/sgml/xfunc.sgml b/doc/src/sgml/xfunc.sgml
index c65f8522b37..70dfe380190 100644
--- a/doc/src/sgml/xfunc.sgml
+++ b/doc/src/sgml/xfunc.sgml
@@ -116,9 +116,9 @@
Besides SELECT queries, the commands can include data
modification queries (INSERT,
UPDATE, and DELETE), as well as
- other SQL commands. (The only exception is that you cannot put
- BEGIN>, COMMIT>, ROLLBACK>, or
- SAVEPOINT> commands into a SQL function.)
+ other SQL commands. (You cannot put transaction commands, e.g.
+ COMMIT>, SAVEPOINT>, and some utility
+ commands, e.g. VACUUM>, into an SQL function.)
However, the final command
must be a SELECT or have a RETURNING>
clause that returns whatever is