mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Pgindent run before 9.1 beta2.
This commit is contained in:
@ -807,9 +807,9 @@ check_client_encoding(char **newval, void **extra, GucSource source)
|
||||
*
|
||||
* XXX Although canonicalizing seems like a good idea in the abstract, it
|
||||
* breaks pre-9.1 JDBC drivers, which expect that if they send "UNICODE"
|
||||
* as the client_encoding setting then it will read back the same way.
|
||||
* As a workaround, don't replace the string if it's "UNICODE". Remove
|
||||
* that hack when pre-9.1 JDBC drivers are no longer in use.
|
||||
* as the client_encoding setting then it will read back the same way. As
|
||||
* a workaround, don't replace the string if it's "UNICODE". Remove that
|
||||
* hack when pre-9.1 JDBC drivers are no longer in use.
|
||||
*/
|
||||
if (strcmp(*newval, canonical_name) != 0 &&
|
||||
strcmp(*newval, "UNICODE") != 0)
|
||||
|
Reference in New Issue
Block a user