Skip to content

Commit d511555

Browse files
committed
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
1 parent 1243aa9 commit d511555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/plpgsql.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4858,7 +4858,7 @@ $$ LANGUAGE plpgsql;
48584858
to the local variable <varname>curtime</varname>, the
48594859
<application>PL/pgSQL</application> interpreter casts this
48604860
string to the <type>timestamp</type> type by calling the
4861-
<function>text_out</function> and <function>timestamp_in</function>
4861+
<function>textout</function> and <function>timestamp_in</function>
48624862
functions for the conversion. So, the computed time stamp is updated
48634863
on each execution as the programmer expects. Even though this
48644864
happens to work as expected, it's not terribly efficient, so

0 commit comments

Comments
 (0)