Re: Faulty HEAP_XMAX_LOCK_ONLY & HEAP_KEYS_UPDATED hintbit combination
В списке pgsql-hackers по дате отправления:
| От | Julien Rouhaud |
|---|---|
| Тема | Re: Faulty HEAP_XMAX_LOCK_ONLY & HEAP_KEYS_UPDATED hintbit combination |
| Дата | |
| Msg-id | 20210204160624.GA22612@nol обсуждение исходный текст |
| Ответ на | Re: Faulty HEAP_XMAX_LOCK_ONLY & HEAP_KEYS_UPDATED hintbit combination (Mahendra Singh Thalor <mahi6run@gmail.com>) |
| Ответы |
Re: Faulty HEAP_XMAX_LOCK_ONLY & HEAP_KEYS_UPDATED hintbit combination
|
| Список | pgsql-hackers |
On Thu, Feb 04, 2021 at 08:34:13PM +0530, Mahendra Singh Thalor wrote: > On Tue, 2 Feb 2021 at 09:51, Julien Rouhaud <rjuju123@gmail.com> wrote: > > > > On Mon, Feb 01, 2021 at 02:00:48PM -0300, Alvaro Herrera wrote: > > > So I think that I misspoke earlier in this thread when I said this is a > > > bug, and that the right fix here is to remove the Assert() and change > > > amcheck to match. > > > > I'm attaching a patch to do so. > > Thanks Julien for the patch. > > Patch looks good to me and it is fixing the problem. I think we can > register in CF. Thanks for looking at it! I just created an entry for the next commitfest. > > > > Changing the name may be overkill, but claryfing the hint bit usage in > > README.tuplock would definitely be useful, especially since the combination > > isn't always produced. How about adding something like: > > > > HEAP_KEYS_UPDATED > > This bit lives in t_infomask2. If set, indicates that the XMAX updated > > this tuple and changed the key values, or it deleted the tuple. > > + It can also be set in combination of HEAP_XMAX_LOCK_ONLY. > > It's set regardless of whether the XMAX is a TransactionId or a MultiXactId. > Make sense. Please can you update this? Sure, done in attached v2!
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера