Re: NULLs in unique indexes; Was: Oracle purchases

Поиск
Список
Период
Сортировка
От Robert Treat
Тема Re: NULLs in unique indexes; Was: Oracle purchases
Дата
Msg-id 1140100976.2224.78.camel@camel
обсуждение исходный текст
Ответ на NULLs in unique indexes; Was: Oracle purchases Sleepycat - is this the "other shoe" for MySQL AB?  (Alban Hertroys <alban@magproductions.nl>)
Список pgsql-general
On Thu, 2006-02-16 at 06:27, Alban Hertroys wrote:
> Vivek Khera wrote:
> > http://dev.mysql.com/doc/refman/5.1/en/bdb-restrictions.html
> >
> > I especially like the third restriction.  How on earth do people live
> > with this software?
>
> That's the part where they allow only one NULL value in a unique index,
> right? Opinions seem to differ on this matter...
>

ISTM the part that is bad on this is not that whether you allow multiple
nulls in a unique index (as some dbs do) or that you allow a single null
in a unique index (as other dbs do), either behvior can be argued for.
The thing that get's me is that as a mysql developer you really can't be
sure of the behavior you are going to get unless you can enforce a
specific table handler which therefore requires that you require a
specific storage engine for that installation. ISTM this is asking for a
lot of knowledge of mysql internals for the average front end
developer.


Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


В списке pgsql-general по дате отправления:

Предыдущее
От: Emi Lu
Дата:
Сообщение: A question about Vacuum analyze
Следующее
От: Nikola Ivanov
Дата:
Сообщение: Re: Postgres using 100% CPU