| От | Tom Lane |
|---|---|
| Тема | Re: currtid_byreloid and currtid_byrelname |
| Дата | |
| Msg-id | 23789.1181948879@sss.pgh.pa.us обсуждение |
| Ответ на | currtid_byreloid and currtid_byrelname (Heikki Linnakangas <heikki@enterprisedb.com>) |
| Ответы |
Re: currtid_byreloid and currtid_byrelname
|
| Список | pgsql-hackers |
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> In utils/adt/tid.c, there's two mysterious functions with no comments,
> and no-one calling them inside backend code AFAICT: currtid_byreloid and
> currtid_byrelname. What do they do/did?
IIRC, the ODBC driver uses them, or once did, to deal with
concurrent-update situations --- it wants to be able to find the
currently committed version of a row it saw as valid earlier in the
transaction. I think it's sort of a client-side version of the
EvalPlanQual stuff. Hiroshi probably remembers more.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера