mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.77 2001/10/10 00:02:42 petere Exp $ -->
|
||||
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.78 2001/10/12 02:08:34 ishii Exp $ -->
|
||||
|
||||
<chapter id="functions">
|
||||
<title>Functions and Operators</title>
|
||||
@ -1008,6 +1008,16 @@
|
||||
<entry><literal>trim</literal></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><function>pg_client_encoding</function>()</entry>
|
||||
<entry><type>name</type></entry>
|
||||
<entry>
|
||||
Returns current client encoding name.
|
||||
</entry>
|
||||
<entry><literal>pg_client_encoding()</literal></entry>
|
||||
<entry><literal>SQL_ASCII</literal></entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><function>repeat</function>(<type>text</type>, <type>integer</type>)</entry>
|
||||
<entry><type>text</type></entry>
|
||||
|
Reference in New Issue
Block a user