diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 328c1f3a072..2774c335c48 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -4727,7 +4727,7 @@ $$ LANGUAGE plpgsql;
to the local variable curtime, the
PL/pgSQL interpreter casts this
string to the timestamp type by calling the
- text_out and timestamp_in
+ textout and timestamp_in
functions for the conversion. So, the computed time stamp is updated
on each execution as the programmer expects. Even though this
happens to work as expected, it's not terribly efficient, so