On 08.03.2017 03:37, Robert Haas wrote:
The commit message for 64353640e87b54250f1b8a1d2a708d270dff4bfd has
some interesting perspective on this.
"""
Also, mark to_date() and to_char(interval) as stable; although these appear
not to depend on any GUC variables as of CVS HEAD, that seems a prope
Thanks!
On 08.03.2017 17:37, Andreas Karlsson wrote:
The current code for to_char will on the first call to to_char build
arrays with the localized names of the week days and the months. I
suspect that you may need to build something similar but a set of
arrays per locale.
Not sure what the
On 03/07/2017 09:56 PM, Sven R. Kunze wrote:
On 07.03.2017 03:21, Andreas Karlsson wrote:
1) I do not think we currently allow setting the locale like this
anywhere, so this will introduce a new concept to PostgreSQL. And you
will probably need to add support for caching per locale.
Good to kn
On Tue, Mar 7, 2017 at 3:56 PM, Sven R. Kunze wrote:
>> 2) As far as I can tell from reading the code to_date currently ignores
>> the M suffix which indicates that you want localized month/day names, so i
>> guess that to_date is currently immutable. Maybe it is stable due to the
>> idea that we
On 07.03.2017 03:21, Andreas Karlsson wrote:
1) I do not think we currently allow setting the locale like this
anywhere, so this will introduce a new concept to PostgreSQL. And you
will probably need to add support for caching per locale.
Good to know. Could you explain what you mean by "cachi
On 03/03/2017 10:41 PM, Sven R. Kunze wrote:
What do you think?
I have some thoughts:
1) I do not think we currently allow setting the locale like this
anywhere, so this will introduce a new concept to PostgreSQL. And you
will probably need to add support for caching per locale.
2) As far
Hello everybody,
following up on this thread:
https://www.postgresql.org/message-id/flat/d297e048-ac49-9bed-32e3-9dd4e65d0978%40mail.de
specifically on this mail:
https://www.postgresql.org/message-id/baef819f-acf0-a64d-c1eb-d2c5da1e5030%40mail.de
I hope this idea fulfills the requirements. So