[PATCH] Obsolete wording in PL/Perl comment

Started by Dagfinn Ilmari Mannsåkerabout 10 years ago2 messageshackers
Jump to latest

The comment in hv_store_string() says that negative key length to
hv_store() for UTF-8 is not documented, and mentions that 5.6 doesn't
track UTF-8-ness of keys. However, the negative length convention has
been documented since 5.16¹, and 5.6 is no longer supported. The
attached patch updates the comment to reflect this.

[1]: http://perldoc.perl.org/perlapi.html#hv_store

--
"The surreality of the universe tends towards a maximum" -- Skud's Law
"Never formulate a law or axiom that you're not prepared to live with
the consequences of." -- Skud's Meta-Law

Attachments:

0001-Fix-obsolete-wording-in-PL-Perl-hv_store_string-comm.patchtext/x-diffDownload+2-5
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Dagfinn Ilmari Mannsåker (#1)
Re: [PATCH] Obsolete wording in PL/Perl comment

ilmari@ilmari.org (Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?=) writes:

The comment in hv_store_string() says that negative key length to
hv_store() for UTF-8 is not documented, and mentions that 5.6 doesn't
track UTF-8-ness of keys. However, the negative length convention has
been documented since 5.16, and 5.6 is no longer supported. The
attached patch updates the comment to reflect this.

Pushed, thanks.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers