Re: try_relation_open and relation_open behave different.
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: try_relation_open and relation_open behave different. |
| Дата | |
| Msg-id | 202110181344.565nglsi6til@alvherre.pgsql обсуждение |
| Ответ на | Re: try_relation_open and relation_open behave different. (Xing GUO <higuoxing@gmail.com>) |
| Список | pgsql-hackers |
On 2021-Oct-18, Xing GUO wrote: > However, I can open an "uncommitted" relation using relation_open() and > cannot open it using try_relation_open(). > Since Postgres doesn't write the "uncommitted" relation descriptor to > SysCache and try_relation_open() checks if the > relation exists in SysCache while relation_open() doesn't check it. Hmm, is it sufficient to do CommandCounterIncrement() after your "uncommitted" relation change and the place where you do try_relation_open()? -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/ "Linux transformó mi computadora, de una `máquina para hacer cosas', en un aparato realmente entretenido, sobre el cual cada día aprendo algo nuevo" (Jaime Salinas)
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера