Skip to content

Commit 939db2c

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 b615b23 commit 939db2c

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
@@ -4864,7 +4864,7 @@ $$ LANGUAGE plpgsql;
48644864
to the local variable <varname>curtime</varname>, the
48654865
<application>PL/pgSQL</application> interpreter casts this
48664866
string to the <type>timestamp</type> type by calling the
4867-
<function>text_out</function> and <function>timestamp_in</function>
4867+
<function>textout</function> and <function>timestamp_in</function>
48684868
functions for the conversion. So, the computed time stamp is updated
48694869
on each execution as the programmer expects. Even though this
48704870
happens to work as expected, it's not terribly efficient, so

0 commit comments

Comments
 (0)