mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-05 07:46:56 +02:00
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
This commit is contained in:
parent
b615b23656
commit
939db2c1c8
@ -4864,7 +4864,7 @@ $$ LANGUAGE plpgsql;
|
|||||||
to the local variable <varname>curtime</varname>, the
|
to the local variable <varname>curtime</varname>, the
|
||||||
<application>PL/pgSQL</application> interpreter casts this
|
<application>PL/pgSQL</application> interpreter casts this
|
||||||
string to the <type>timestamp</type> type by calling the
|
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
|
functions for the conversion. So, the computed time stamp is updated
|
||||||
on each execution as the programmer expects. Even though this
|
on each execution as the programmer expects. Even though this
|
||||||
happens to work as expected, it's not terribly efficient, so
|
happens to work as expected, it's not terribly efficient, so
|
||||||
|
Loading…
Reference in New Issue
Block a user