Re: Mysql -> PgSQL

Поиск
Список
Период
Сортировка
От Tommi Maekitalo
Тема Re: Mysql -> PgSQL
Дата
Msg-id 200208230754.56550.t.maekitalo@epgmbh.de
обсуждение исходный текст
Ответ на Re: Mysql -> PgSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Mysql -> PgSQL  (Jeff Davis <list-pgsql-general@empires.org>)
Список pgsql-general
> > Thats not so trivial. The type set can have "zero or more values, each of
> > which must be chosen from a list of allowed values" (from Mysql-manual).
> > In PostgreSQL you have to use a details-table for this. This is a
> > nonstandard feature of Mysql (these people concentrate in creating
> > nonstandard extensions before supporting the full standard ;-)
>
> Oh, yes, it is enum that is CHECK.  'set' has multiple values.  It is a
> nifty MySQL feature, I must say.

But not so tricky as it looks first. They use just a bitmask for it. The
maximum number of allowed values is limited to 64 so it must be a 8-Byte
bitmask.

What do you think? Wouldn't it be nice to have this feature? It shouldn't be
too hard to implement it.

Tommi


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Foreign keys: how to turn referential integrity
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Excellent DBMS Resource Site