Re: adding an immutable variant of to_date

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: "Sven R(dot) Kunze" <srkunze(at)mail(dot)de>
Cc: Andreas Karlsson <andreas(at)proxel(dot)se>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: adding an immutable variant of to_date
Date: 2017-03-08 02:37:17
Message-ID: CA+TgmoYprS4c-kT7CJu5W5en2Q39Mf92E1xRt3MPj0Ro29uHug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Mar 7, 2017 at 3:56 PM, Sven R. Kunze <srkunze(at)mail(dot)de> 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 may want to support the M suffix in the future.
>
> I think that's the case.

The commit message for 64353640e87b54250f1b8a1d2a708d270dff4bfd has
some interesting perspective on this.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-03-08 02:38:40 Re: Skip all-visible pages during second HeapScan of CIC
Previous Message Amit Kapila 2017-03-08 02:32:41 Re: wait events for disk I/O