Re: patch: Allow the UUID type to accept non-standard formats - Mailing list pgsql-hackers

From Robert Haas
Subject Re: patch: Allow the UUID type to accept non-standard formats
Date
Msg-id 603c8f070810101301q767e7b17p165aea5945345078@mail.gmail.com
Whole thread Raw
In response to Re: patch: Allow the UUID type to accept non-standard formats  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
List pgsql-hackers
On Fri, Oct 10, 2008 at 3:48 PM, Grzegorz Jaskiewicz
<gj@pointblue.com.pl> wrote:
> I think it will be as expensive to app to convert UUID to standard format,
> as it would be too postgrsql.
> But if psql does it - everyone would expect it to do it right. You can't
> possibly detect all forms of screwed up design, and expect application to
> pick it up.
> All I say, is I think it would be better to be conservative in this case.
> And funny enough, I only replied to that message - because I know something
> about trying to compensate for non standard types, and I've seen that
> discussion quite few times around here in the past.
>
> Just a friendly opinion.

I don't really think this is worth arguing about.  I'm not trying to
detect all forms of screwed up design - I'm trying to detect minor
variants of the standard format that are commonly used by third party
applications.  If people don't like the patch, just move the item to
the "not wanted" section of the TODO list and let's move onto the next
thing.  Personally, I think it's useful and harmless, but everyone is
entitled to their own opinion and it's certainly not worth anyone,
including me, popping a cork over.

I apologize if I gave the contrary impression.

...Robert


pgsql-hackers by date:

Previous
From: "Robert Haas"
Date:
Subject: Re: patch: Allow the UUID type to accept non-standard formats
Next
From: "Pavel Stehule"
Date:
Subject: Re: patch: Allow the UUID type to accept non-standard formats