Re: Non-colliding auto generated names - Mailing list pgsql-patches

From Christopher Kings-Lynne
Subject Re: Non-colliding auto generated names
Date
Msg-id 073e01c2d714$5efc3560$6500a8c0@fhp.internal
Whole thread Raw
In response to Re: Non-colliding auto generated names  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Non-colliding auto generated names
List pgsql-patches
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I thought folks wanted them to fail if they conflicted so that they
> > could know for sure how to derive such names definitively.  Is that
> > accurate?
>
> It sort of bothers me that this patch would make it impossible to
> predict with certainty the index names associated with a table.
> But I haven't got a better idea...

OK, but why would you need to be able to do that?  Also, it tells you in the
notice.  And if your 'name prediction' code can't deal with collisions, then
it needs help.  Also, what's stopping you specifying the name explicitly?

Maybe we could put it to pgsql-general?

Chris



pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Non-colliding auto generated names
Next
From: Neil Conway
Date:
Subject: fix tiny psql memory leak