pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpress - pr: Draft for french translation
2+ messages / 2 participants
[nested] [flat]
* press - pr: Draft for french translation
@ 2009-06-18 23:02 User Sas <sas@pgfoundry.org>
0 siblings, 0 replies; 2+ messages in thread
From: sas@pgfoundry.org @ 2009-06-18 23:02 UTC (permalink / raw)
To: pgsql-committers
Log Message:
-----------
Draft for french translation
Modified Files:
--------------
pr/releases/8.4/fr:
release.fr.txt (r1.1 -> r1.2)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/press/pr/releases/8.4/fr/release.fr.txt?r1=1.1&r2=1....)
Added Files:
-----------
pr/releases/8.4/fr:
presskit84.html.fr (r1.1)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/press/pr/releases/8.4/fr/presskit84.html.fr?rev=1.1&...)
^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Simplify pg_enc2gettext_tbl[] with C99-designated initializer sy
@ 2024-03-01 09:05 Michael Paquier <michael@paquier.xyz>
0 siblings, 0 replies; 2+ messages in thread
From: Michael Paquier @ 2024-03-01 09:05 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
Simplify pg_enc2gettext_tbl[] with C99-designated initializer syntax
This commit switches pg_enc2gettext_tbl[] in encnames.c to use a
C99-designated initializer syntax.
pg_bind_textdomain_codeset() is simplified so as it is possible to do
a direct lookup at the gettext() array with a value of the enum pg_enc
rather than doing a loop through all its elements, as long as the
encoding value provided by GetDatabaseEncoding() is in the correct range
of supported encoding values. Note that PG_MULE_INTERNAL gains a value
in the array, pointing to NULL.
Author: Jelte Fennema-Nio
Discussion: https://postgr.es/m/CAGECzQT3caUbcCcszNewCCmMbCuyP7XNAm60J3ybd6PN5kH2Dw@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/655dc310460c601d434d05339b7fa46ed97675b3
Modified Files
--------------
src/backend/utils/mb/mbutils.c | 24 +++++------
src/common/encnames.c | 86 ++++++++++++++++++++--------------------
src/include/mb/pg_wchar.h | 11 ++---
src/tools/pgindent/typedefs.list | 1 -
4 files changed, 55 insertions(+), 67 deletions(-)
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-03-01 09:05 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-06-18 23:02 press - pr: Draft for french translation User Sas <sas@pgfoundry.org>
2024-03-01 09:05 pgsql: Simplify pg_enc2gettext_tbl[] with C99-designated initializer sy Michael Paquier <michael@paquier.xyz>
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