postgresql/src/bin
Andres Freund 56aa2dcdde Specify the encoding of input to fmtId()
This commit adds fmtIdEnc() and fmtQualifiedIdEnc(), which allow to specify
the encoding as an explicit argument.  Additionally setFmtEncoding() is
provided, which defines the encoding when no explicit encoding is provided, to
avoid breaking all code using fmtId().

All users of fmtId()/fmtQualifiedId() are either converted to the explicit
version or a call to setFmtEncoding() has been added.

This commit does not yet utilize the now well-defined encoding, that will
happen in a subsequent commit.

Reviewed-by: Noah Misch <noah@leadboat.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Backpatch-through: 13
Security: CVE-2025-1094
2025-02-10 10:03:39 -05:00
..
initdb Translation updates 2024-11-11 13:53:52 +01:00
pg_amcheck Translation updates 2024-11-11 13:53:52 +01:00
pg_archivecleanup Translation updates 2024-11-11 13:53:52 +01:00
pg_basebackup Translation updates 2025-02-10 15:05:03 +01:00
pg_checksums Translation updates 2024-11-11 13:53:52 +01:00
pg_config Translation updates 2024-11-11 13:53:52 +01:00
pg_controldata Translation updates 2025-02-10 15:05:03 +01:00
pg_ctl Translation updates 2025-02-10 15:05:03 +01:00
pg_dump Specify the encoding of input to fmtId() 2025-02-10 10:03:39 -05:00
pg_resetwal Translation updates 2024-11-11 13:53:52 +01:00
pg_rewind Translation updates 2025-02-10 15:05:03 +01:00
pg_test_fsync Translation updates 2024-11-11 13:53:52 +01:00
pg_test_timing Translation updates 2024-11-11 13:53:52 +01:00
pg_upgrade Improve reporting of pg_upgrade log files on test failure 2024-12-11 08:48:53 +09:00
pg_verifybackup Translation updates 2024-11-11 13:53:52 +01:00
pg_waldump Translation updates 2024-11-11 13:53:52 +01:00
pgbench Fix pgbench performance issue induced by commit af35fe501. 2025-02-07 13:41:42 -05:00
pgevent meson: Build pgevent as shared_module rather than shared_library 2024-11-26 18:09:23 +01:00
psql Specify the encoding of input to fmtId() 2025-02-10 10:03:39 -05:00
scripts Specify the encoding of input to fmtId() 2025-02-10 10:03:39 -05:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00