Re: how to implement unusual constraint

Поиск
Список
Период
Сортировка
От danmcb
Тема Re: how to implement unusual constraint
Дата
Msg-id 1182710700.341097.182380@n60g2000hse.googlegroups.com
обсуждение исходный текст
Ответ на Re: how to implement unusual constraint  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: how to implement unusual constraint  (Andrew Sullivan <ajs@crankycanuck.ca>)
Список pgsql-general
"So frequently the best advice for someone who's thinking of doing
something like this is "redesign your schema so you don't need to". "

I've thought about that. The obvious way to do it would be to split
into two tables, one for the originals, one for the translations (the
objects are actually phrases in many languages). But I'd rather avoid
that because in all other ways, the objects have the same properties,
reference the same objects, and so on. Splitting into two types is not
really desirable, from the point of view of what they are modelling.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: low transaction ID wrap limit
Следующее
От: danmcb
Дата:
Сообщение: Re: finding items with 0 rels for a 0 to many relationship