pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add checks for valid multibyte character length in UtfToLocal, L
3+ messages / 1 participants
[nested] [flat]

* pgsql: Add checks for valid multibyte character length in UtfToLocal, L
@ 2013-07-19 01:55  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2013-07-19 01:55 UTC (permalink / raw)
  To: pgsql-committers

Add checks for valid multibyte character length in UtfToLocal, LocalToUtf.

This is mainly to suppress "uninitialized variable" warnings from very
recent versions of gcc.  But it seems like a good robustness thing anyway,
not to mention that we might someday decide to support 6-byte UTF8.

Per report from Karol Trzcionka.  No back-patch since there's no reason
at the moment to think this is more than cosmetic.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d9f37e6661ec654f7252bfc23e084c9e2ca5db14

Modified Files
--------------
src/backend/utils/mb/conv.c |   15 +++++++++++++++
1 file changed, 15 insertions(+)


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


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Add checks for valid multibyte character length in UtfToLocal, L
@ 2021-12-12 20:59  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2021-12-12 20:59 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Add checks for valid multibyte character length in UtfToLocal, LocalToUtf.

This back-patches commit d9f37e666 into out-of-support branches,
pursuant to newly-established project policy.  The point is to
suppress "uninitialized variable" warnings so that people building
these branches needn't expend brain cells verifying that it's safe
to ignore the warnings.

Discussion: https://postgr.es/m/d0316012-ece7-7b7e-2d36-9c38cb77cb3b@enterprisedb.com

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/404d987646e395b893fbaae17525e1ce45c75c80

Modified Files
--------------
src/backend/utils/mb/conv.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Add checks for valid multibyte character length in UtfToLocal, L
@ 2021-12-12 20:59  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2021-12-12 20:59 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Add checks for valid multibyte character length in UtfToLocal, LocalToUtf.

This back-patches commit d9f37e666 into out-of-support branches,
pursuant to newly-established project policy.  The point is to
suppress "uninitialized variable" warnings so that people building
these branches needn't expend brain cells verifying that it's safe
to ignore the warnings.

Discussion: https://postgr.es/m/d0316012-ece7-7b7e-2d36-9c38cb77cb3b@enterprisedb.com

Branch
------
REL9_2_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/70c64135d0a1715291b4a488df7377bf87207f8c

Modified Files
--------------
src/backend/utils/mb/conv.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2021-12-12 20:59 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-07-19 01:55 pgsql: Add checks for valid multibyte character length in UtfToLocal, L Tom Lane <tgl@sss.pgh.pa.us>
2021-12-12 20:59 pgsql: Add checks for valid multibyte character length in UtfToLocal, L Tom Lane <tgl@sss.pgh.pa.us>
2021-12-12 20:59 pgsql: Add checks for valid multibyte character length in UtfToLocal, L Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox