Re: New compiler warning

2023-08-30 Thread Bruce Momjian
Peter Eisentraut has applied a patch to fix this. --- On Wed, Aug 30, 2023 at 10:07:24AM -0400, David Steele wrote: > On 8/30/23 08:10, Aleksander Alekseev wrote: > > > > > I am seeing a new gcc 12.2.0 compiler warning fro

Re: New compiler warning

2023-08-30 Thread David Steele
On 8/30/23 08:10, Aleksander Alekseev wrote: I am seeing a new gcc 12.2.0 compiler warning from src/backend/commands/sequence.c: Yep, the compiler is just not smart enough to derive that this actually is not going to happen. Here is a proposed fix. Here's an alternate way to deal with this

Re: New compiler warning

2023-08-30 Thread Aleksander Alekseev
Hi, > I am seeing a new gcc 12.2.0 compiler warning from > src/backend/commands/sequence.c: Yep, the compiler is just not smart enough to derive that this actually is not going to happen. Here is a proposed fix. -- Best regards, Aleksander Alekseev v1-0001-Silence-GCC-12-warning.patch Descri

Re: New compiler warning from btree dedup code

2022-04-06 Thread Peter Geoghegan
That approach seems fine. Thanks.-- Peter Geoghegan