aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2025-02-10 10:03:39 -0500
committerAndres Freund <andres@anarazel.de>2025-02-10 10:03:39 -0500
commit56aa2dcddeb299f62dad98ba50ad8db47cddaf97 (patch)
tree1eb67d476a442b4758d44cbc9e56de634607bfd2 /src/backend/access/gist
parent6e05b195d0e192e143db8c4c7ef2526860341a2c (diff)
downloadpostgresql-56aa2dcddeb299f62dad98ba50ad8db47cddaf97.tar.gz
postgresql-56aa2dcddeb299f62dad98ba50ad8db47cddaf97.zip
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
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions