summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2020-07-05 10:35:56 +0000
committerMichael Paquier2020-07-05 10:35:56 +0000
commit8cea55e99b766fd654431f24987a774622594c9b (patch)
tree4081015bddaab559fcb8539a2e39b2a721620164
parente61225ffab3f8726ecd053b1c22ff249c417f9ba (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.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 05d2705604b..d5c1654b16e 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -4892,7 +4892,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