Re: referential integrity violation - key referenced from

Поиск
Список
Период
Сортировка
Искать
От
Stephan Szabo
Тема
Re: referential integrity violation - key referenced from
Дата
Msg-id
20060804091309.E15884@megazone.bigpanda.com
Ответ на
Список
Дерево обсуждения
referential integrity violation - key referenced from xxx not found in yyy "Luiz Henrique" <luizhwk@gmail.com>
Re: referential integrity violation - key referenced from Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: referential integrity violation - key referenced from "Luiz Henrique" <luizhwk@gmail.com>
Re: referential integrity violation - key referenced from Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: referential integrity violation - key referenced from "Luiz Henrique" <luizhwk@gmail.com>
Re: referential integrity violation - key referenced from Jim Nasby <jnasby@pervasive.com>
Re: referential integrity violation - key referenced from "Luiz Henrique" <luizhwk@gmail.com>
Re: referential integrity violation - key referenced from Tom Lane <tgl@sss.pgh.pa.us>
On Fri, 4 Aug 2006, Luiz Henrique wrote:

> Hi, could you tell me how postgresql look for a referenced key? It looks in
> table index? Maybe only the index is corrupted?

It basically runs a query like:
 SELECT * FROM parenttable WHERE keycol1 = ? [AND keycol2 = ? ...] FOR
SHARE

It should act like a prepared statement would (which might be different
than it would with the ?s replaced by the actual values).
В списке pgsql-bugs по дате отправления
От: Tom Lane
Дата:
От: Kris Jurka
Дата:
FAQ