postgresql/src/include/fe_utils
Andres Freund 5df4e1632e 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:40 -05:00
..
archive.h Move frontend-side archive APIs from src/common/ to src/fe_utils/ 2020-06-11 15:48:56 +09:00
cancel.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
conditional.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
mbprint.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
print.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
psqlscan.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
psqlscan_int.h Reduce size of backend scanner's tables. 2020-01-13 15:04:31 -05:00
recovery_gen.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
simple_list.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
string_utils.h Specify the encoding of input to fmtId() 2025-02-10 10:03:40 -05:00