FUNCTIONS / BINARY STRING FUNCTIONS AND OPERATORS
Converts a binary string representing text in encoding src_encoding to text in the database encoding (see Section 23.3.4 for available conversions).
Signatures & examples
convert_from ( bytes bytea, src_encoding name ) → text
Converts a binary string representing text in encoding src_encoding to text in the database encoding (see Section 23.3.4 for available conversions).convert_from('text_in_utf8', 'UTF8') → text_in_utf8
Version history 3
- PG 16 → 17changed
- PG 13 → 14changed
- PG 12 → 13changed
Definition snapshot: 2026-09-14T13:14:25.684213+00:00@99e6866c · English manual source