diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 6c25116538..7ed926fd51 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -3779,7 +3779,7 @@ ASSERT condition , trigger (for data change triggers) or
event_trigger (for database event triggers).
- Special local variables named PG_something are
+ Special local variables named TG_something are
automatically defined to describe the condition that triggered the call.