postgres.git / summary / log / commit / refs

commit    49d7d5f21f9d40c88baccbcbc7d0d1ad53b49b98
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Sun Jul 05 10:36:28 2020 +0000
First released in: 14.0, 9.5.23, 9.6.19, 10.14, 11.9, 12.4, 13.0

    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


doc/src/sgml/plpgsql.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 328c1f3a072..2774c335c48 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -4727,7 +4727,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 [parent: 5144a40f3fa7]