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

Function GetMessageEncoding

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

* gettext() returns messages in this encoding. This often matches the * database encoding, but it differs for SQL_ASCII databases, for processes * not attached to a database, and under a database encoding lacking iconv * support (MULE_INTERNAL). */

Source from the content-addressed store, hash-verified

1383 * support (MULE_INTERNAL).
1384 */
1385int
1386GetMessageEncoding(void)
1387{
1388 return MessageEncoding->encoding;
1389}
1390
1391
1392/*

Callers 3

write_eventlogFunction · 0.85
pgwin32_message_to_UTF16Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected