postgresql/src/include/fe_utils
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
..
archive.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
cancel.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
conditional.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
connect_utils.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
mbprint.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
option_utils.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
parallel_slot.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
print.h Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
psqlscan.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
psqlscan_int.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
query_utils.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
recovery_gen.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
simple_list.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
string_utils.h Specify the encoding of input to fmtId() 2025-02-10 10:03:39 -05:00