From f426465ba911051fa9fce57c7c4b49350e9dbbd3 Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Fri, 12 Oct 2001 02:08:34 +0000 Subject: Add a new function "pg_client_encoding" which returns the current client side encoding name. This is necessary for client API's such as JDBC to perform correct encoding conversions. See my email "[HACKERS] pg_client_encoding" 10 Sep 2001. --- doc/src/sgml/func.sgml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc/src') diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 334a8a9ee59..3cbd8cdf6b5 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -1008,6 +1008,16 @@ trim + + pg_client_encoding() + name + + Returns current client encoding name. + + pg_client_encoding() + SQL_ASCII + + repeat(text, integer) text -- cgit v1.2.3