PostgreSQL PG_CLIENT_ENCODING() function
PG_CLIENT_ENCODING() function
The PostgreSQL pg_client_encoding function is used to get the current client encoding name.
Syntax:
pg_client_encoding (string)
PostgreSQL Version: 9.3
Pictorial Presentation of PostgreSQL PG_CLIENT_ENCODING() function
Example: PostgreSQL PG_CLIENT_ENCODING() function:
The example below returns the current client encoding name.
Code:
SELECT pg_client_encoding();
Sample Output:
pg_client_encoding -------------------- WIN1252 (1 row)
Previous: LTRIM function
Next: QUOTE_IDENT function
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework