File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,6 @@ It is recognized that decisions were made that may not always be ideal for a
55given user. In order to highlight those potential issues and hopefully bring
66some sense into a confusing situation, this document was drawn.
77
8- Non-English Locales
9- -------------------
10-
11- Many non-english locales are not supported due to the localization of the severity field
12- in messages and errors sent to the client. Internally, py-postgresql uses this to allow
13- client side filtering of messages and to identify FATAL connection errors that allow the
14- client to recognize that it should be expecting the connection to terminate.
15-
168Thread Safety
179-------------
1810
@@ -112,3 +104,11 @@ This exception is raised by a generic processing routine whose functionality
112104is abstract in nature, so the message is abstract as well. It essentially means
113105that a tuple in the sequence given to the loading method had too many or too few
114106items.
107+
108+ Non-English Locales
109+ -------------------
110+
111+ In the past, some builds of PostgreSQL localized the severity field of some protocol messages.
112+ `py-postgresql ` expects these fields to be consistent with their english terms. If the driver
113+ raises strange exceptions during the use of non-english locales, it may be necessary to use an
114+ english setting in order to coax the server into issueing familiar terms.
You can’t perform that action at this time.
0 commit comments