diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-07-05 19:36:34 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-07-05 19:36:34 +0900 |
commit | 2d7738a83cae7060adb1aa243ff653cb60955ba0 (patch) | |
tree | 1776d7056265eeb5452b74e800c661433f6f7495 | |
parent | 69a3fe6e639ad57f65536ca7b1873b9a3f1814e6 (diff) |
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
-rw-r--r-- | doc/src/sgml/plpgsql.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 3fdb8cbda2a..35623a3f654 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -4654,7 +4654,7 @@ $$ LANGUAGE plpgsql; to the local variable <varname>curtime</varname>, the <application>PL/pgSQL</application> interpreter casts this string to the <type>timestamp</type> type by calling the - <function>text_out</function> and <function>timestamp_in</function> + <function>textout</function> and <function>timestamp_in</function> 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 |