aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-07-05 19:36:18 +0900
committerMichael Paquier <michael@paquier.xyz>2020-07-05 19:36:18 +0900
commit939db2c1c85879c147a943ad4eb13411c54607b0 (patch)
tree7fba796ad7f037b37274ce26b228e7deba108b1a
parentb615b236569055f3b69df85f21b3b909735343e5 (diff)
downloadpostgresql-939db2c1c85879c147a943ad4eb13411c54607b0.tar.gz
postgresql-939db2c1c85879c147a943ad4eb13411c54607b0.zip
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.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 70bcce700ba..b61991ff70d 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -4864,7 +4864,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