From d51155544befc48cacfda3ad28ba64bdee3161e8 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Sun, 5 Jul 2020 19:36:22 +0900 Subject: [PATCH] doc: Fix incorrect reference to textout in plpgsql examples This error has survived for 22 years, and has been introduced by da63386. Reported-by: Erwin Brandstetter Discussion: https://postgr.es/m/CAGHENJ57wogGOvGXo5LgWYcqswxafLck8ELqHDR+zrkTPgs_OQ@mail.gmail.com Backpatch-through: 9.5 --- doc/src/sgml/plpgsql.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 95206ebfc1..b139f76920 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -4858,7 +4858,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