| От | Vadim Mikheev |
|---|---|
| Тема | Re: AW: [HACKERS] Fwd: Joins and links |
| Дата | |
| Msg-id | 3781E7DA.2F66A759@krs.ru обсуждение исходный текст |
| Ответ на | AW: [HACKERS] Fwd: Joins and links (Zeugswetter Andreas IZ5 <Andreas.Zeugswetter@telecom.at>) |
| Список | pgsql-hackers |
Zeugswetter Andreas IZ5 wrote: > > I think the best compromise would be to have ctid in the where clause. And we told about this a days ago, but no one did it. > This would need to always be considered as best path by the optimizer. > Then the situation is similar to a primary key foreign key scenario. > > The referenced table does not need an index, since we know the physical > position of the row we want (where ctid='(5,255)'). > > What we need second is an update trigger for the referenced table that > updates old.ctid to new.ctid in the referencing table. For this to be Triggers are not fired by vacuum... Vadim
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера