| От | Tom Lane |
|---|---|
| Тема | Re: insert into select from |
| Дата | |
| Msg-id | 27734.989006720@sss.pgh.pa.us обсуждение |
| Ответ на | insert into select from ("Jan Branbergen" <jan@entrisphere.com>) |
| Список | pgsql-bugs |
"Jan Branbergen" <jan@entrisphere.com> writes:
> i have constraints defined on the tables to force ref integrity, but nothing
> else. i can send my schema if you would like.
If you have a foreign key reference from screen_filter_field to
screen_filter, that would explain it --- but I'd expect you'd be
seeing the permissions issue on any insert into screen_filter_field,
not only an INSERT/SELECT.
See past discussions about why the foreign key triggers use SELECT FOR
UPDATE rather than plain SELECT. I am not sure whether this is any
different in 7.1 ...
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера