Re: Add const qualifiers to XLogRegister*() functions

2024-09-02 Thread Peter Eisentraut
On 28.08.24 12:04, Aleksander Alekseev wrote: Hi, On 04.10.23 16:37, Peter Eisentraut wrote: On 03.10.23 13:28, Aleksander Alekseev wrote: While examining the code for similar places I noticed that the following functions can also be const'ified: - XLogRegisterData (?) I don't think this

Re: Add const qualifiers to XLogRegister*() functions

2024-08-28 Thread Aleksander Alekseev
Hi, > On 04.10.23 16:37, Peter Eisentraut wrote: > > On 03.10.23 13:28, Aleksander Alekseev wrote: > >> While examining the code for similar places I noticed that the > >> following functions can also be const'ified: > > >> - XLogRegisterData (?) > > > > I don't think this would work, at least wit

Add const qualifiers to XLogRegister*() functions

2024-08-28 Thread Peter Eisentraut
ed, 28 Aug 2024 09:32:11 +0200 Subject: [PATCH] Add const qualifiers to XLogRegister*() functions Add const qualifiers to XLogRegisterData() and XLogRegisterBufData(). Several unconstify() calls can be removed. --- src/backend/access/brin/brin_pageops.c| 4 ++-- src/backend/access/tran