Re: patch: Allow the UUID type to accept non-standard formats

From: "Robert Haas" <robertmhaas(at)gmail(dot)com>
To: "Grzegorz Jaskiewicz" <gj(at)pointblue(dot)com(dot)pl>
Cc: "Pg Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: patch: Allow the UUID type to accept non-standard formats
Date: 2008-10-10 20:01:28
Message-ID: 603c8f070810101301q767e7b17p165aea5945345078@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Oct 10, 2008 at 3:48 PM, Grzegorz Jaskiewicz
<gj(at)pointblue(dot)com(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2008-10-10 20:05:30 Re: patch: Allow the UUID type to accept non-standard formats
Previous Message Robert Haas 2008-10-10 19:50:23 Re: patch: Allow the UUID type to accept non-standard formats