Re: I often have to do "update if exist, else insert", is my database design wrong?
От
Richard Huxton
Тема
Re: I often have to do "update if exist, else insert",
is my database design wrong?
Дата
Msg-id
48899A62.5020704@archonet.com
Ответ на
Список
Дерево обсуждения
I often have to do "update if exist, else insert", is my database design wrong? "A B" <gentosaker@gmail.com>
Re: I often have to do "update if exist, else insert", is my database design wrong? "Francisco Reyes" <lists@stringsutils.com>
Re: I often have to do "update if exist, else insert", is my database design wrong? Steve Atkins <steve@blighty.com>
Re: I often have to do "update if exist, else insert",
is my database design wrong? Richard Huxton <dev@archonet.com>
A B wrote: > > Or is there some more general problem with the table design? > table_XY is in this case (and most cases) a table like this > > create table table_XY ( > x int references table_X, > y int references table_Y > ); Without knowing what XY are and what you are using table_XY for it's going to be difficult for anyone to offer useful advice. -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления
От: A B
Дата: