Re: Non-colliding auto generated names

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Non-colliding auto generated names
Дата
Msg-id 073e01c2d714$5efc3560$6500a8c0@fhp.internal
обсуждение исходный текст
Ответ на Re: Non-colliding auto generated names  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Non-colliding auto generated names  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Non-colliding auto generated names
Следующее
От: Neil Conway
Дата:
Сообщение: fix tiny psql memory leak