From: Jim Nasby <Jim.Nasby@BlueTreble.com>
To: Andreas 'ads' Scherbaum <adsmail@wars-nicht.de>
To: Joshua D. Drake <jd@commandprompt.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Albe Laurenz <laurenz.albe@wien.gv.at>
To: Andreas Karlsson *EXTERN* <andreas@proxel.se>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Jaime Casanova <jaime.casanova@2ndquadrant.com>
Cc: Euler Taveira <euler@timbira.com.br>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: to_date_valid()
Date: Fri, 29 Jul 2016 15:12:30 -0500
Message-ID: <0f2cb7b2-1e63-3200-d89d-4e1a263488fd@BlueTreble.com> (raw)
In-Reply-To: <2801538c-afac-e209-cad1-d94a20f60a41@wars-nicht.de>
References: <57786490.9010201@wars-nicht.de>
<dcdebc73-ffdd-13a3-d6cd-73e1944a066b@timbira.com.br>
<CAJGNTeO75ZPm3qDk9rze7coGyvCZyWm68iEFY3WOYb5w=7OdBg@mail.gmail.com>
<5778EA94.1020706@wars-nicht.de>
<af97b147-3542-7a55-b651-e0ecae0c8c00@proxel.se>
<CAFj8pRDHaeVdwHtZQPXKCSaeAQ_2_jeXHpPCssiOdFYs7UoUTw@mail.gmail.com>
<2bc6bcef-cada-1ac7-f9a2-2f6128ca4c3c@proxel.se>
<A737B7A37273E048B164557ADEF4A58B5386992E@ntex2010i.host.magwien.gv.at>
<b28373f4-7e37-3bc4-25a5-65aef4006cf0@2ndquadrant.com>
<579823DF.3080903@commandprompt.com>
<2801538c-afac-e209-cad1-d94a20f60a41@wars-nicht.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 7/29/16 1:33 PM, Andreas 'ads' Scherbaum wrote:
> On 27.07.2016 05:00, Joshua D. Drake wrote:
>> On 07/26/2016 06:25 PM, Peter Eisentraut wrote:
>>> On 7/5/16 4:24 AM, Albe Laurenz wrote:
>>>> But notwithstanding your feeling that you would like your application
>>>> to break if it makes use of this behaviour, it is a change that might
>>>> make some people pretty unhappy - nobody can tell how many.
>>>
>>> What is the use of the existing behavior? You get back an arbitrary
>>> implementation dependent value. We don't even guarantee what the value
>>> will be. If we changed it to return a different implementation
>>> dependent value, would users get upset?
>>
>> No they would not get upset because they wouldn't know.
>>
>> Can we just do the right thing?
>
> I'm in favour of fixing this, and update the documentation.
+1. I'd say that if users complain we can always create an extension (on
PGXN) that offers the old behavior. Users could even put that function
before pg_catalog in search_path and get the old behavior back.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532) mobile: 512-569-9461
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: Jim.Nasby@BlueTreble.com, adsmail@wars-nicht.de, jd@commandprompt.com, peter.eisentraut@2ndquadrant.com, laurenz.albe@wien.gv.at, andreas@proxel.se, pavel.stehule@gmail.com, jaime.casanova@2ndquadrant.com, euler@timbira.com.br
Subject: Re: to_date_valid()
In-Reply-To: <0f2cb7b2-1e63-3200-d89d-4e1a263488fd@BlueTreble.com>
References: <57786490.9010201@wars-nicht.de> <dcdebc73-ffdd-13a3-d6cd-73e1944a066b@timbira.com.br> <CAJGNTeO75ZPm3qDk9rze7coGyvCZyWm68iEFY3WOYb5w=7OdBg@mail.gmail.com> <5778EA94.1020706@wars-nicht.de> <af97b147-3542-7a55-b651-e0ecae0c8c00@proxel.se> <CAFj8pRDHaeVdwHtZQPXKCSaeAQ_2_jeXHpPCssiOdFYs7UoUTw@mail.gmail.com> <2bc6bcef-cada-1ac7-f9a2-2f6128ca4c3c@proxel.se> <A737B7A37273E048B164557ADEF4A58B5386992E@ntex2010i.host.magwien.gv.at> <b28373f4-7e37-3bc4-25a5-65aef4006cf0@2ndquadrant.com> <579823DF.3080903@commandprompt.com> <2801538c-afac-e209-cad1-d94a20f60a41@wars-nicht.de> <0f2cb7b2-1e63-3200-d89d-4e1a263488fd@BlueTreble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox