MCPcopy Create free account
hub / github.com/apache/cloudberry / GetDatabaseEncoding

Function GetDatabaseEncoding

src/backend/utils/mb/mbutils.c:1338–1342  ·  view source on GitHub ↗

* The database encoding, also called the server encoding, represents the * encoding of data stored in text-like data types. Affected types include * cstring, text, varchar, name, xml, and json. */

Source from the content-addressed store, hash-verified

1336 * cstring, text, varchar, name, xml, and json.
1337 */
1338int
1339GetDatabaseEncoding(void)
1340{
1341 return DatabaseEncoding->encoding;
1342}
1343
1344const char *
1345GetDatabaseEncodingName(void)

Callers 15

convert_from_utf8Function · 0.85
convert_to_utf8Function · 0.85
dblink_get_connFunction · 0.85
dblink_connectFunction · 0.85
pgss_storeFunction · 0.85
sv2cstrFunction · 0.85
cstr2svFunction · 0.85
PLyUnicode_BytesFunction · 0.85
locate_stem_moduleFunction · 0.85
jsonb_from_cstringFunction · 0.85
xml_inFunction · 0.85
xmlparseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected