| От | Leon |
|---|---|
| Тема | Re: [HACKERS] Fwd: Joins and links |
| Дата | |
| Msg-id | 3782EDBC.9C8A4FFD@udmnet.ru обсуждение исходный текст |
| Ответ на | Re: [HACKERS] Fwd: Joins and links (Vadim Mikheev <vadim@krs.ru>) |
| Список | pgsql-hackers |
Hannu Krosing wrote:
> Another thing that has remained unclear to me is the way to actually
> insert or update the links - you can't just put another record there,
> so that should be some kind of field (tid,oid,...) or some function
> like last_touched('other_table_name').
>
> So, what have you thought to put there ?
>
Earlier I proposed that links should be of type similar to tid,
so inserts should be fed with values of tid. But this requires
intermediate step, so there can be a function which takes primary
key and returns tid, or as you say a function
last_touched('other_table_name') - this seems the best choice.
--
Leon.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера