doc: Fix incorrect reference to textout in plpgsql examples
authorMichael Paquier
Sun, 5 Jul 2020 10:36:18 +0000 (19:36 +0900)
committerMichael Paquier
Sun, 5 Jul 2020 10:36:18 +0000 (19:36 +0900)
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

index 70bcce700ba24cf4f1862a1d8703e313295966a8..b61991ff70d916ddbfa9bab1c4eb92eaf1b9273a 100644 (file)
@@ -4864,7 +4864,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