postgresql/src/include/fe_utils
Andres Freund b1756da754 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 2022 2022-01-07 19:04:57 -05:00
cancel.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
conditional.h Allow pgbench to retry in some cases. 2022-03-23 19:05:45 +09:00
connect_utils.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
mbprint.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
option_utils.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
parallel_slot.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
print.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
psqlscan.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
psqlscan_int.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
query_utils.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
recovery_gen.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
simple_list.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
string_utils.h Specify the encoding of input to fmtId() 2025-02-10 10:03:39 -05:00