Re: Remove useless int64 range checks on BIGINT sequence MINVALUE/MAXVALUE values
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: Greg Nancarrow <gregn4422@gmail.com>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2021-07-07T08:37:42Z
Lists: pgsql-hackers
Attachments
- remove_surplus_int8_seq_range_check.patch (application/octet-stream) patch
On Wed, 7 Jul 2021 at 00:06, Greg Nancarrow <gregn4422@gmail.com> wrote: > I think if you're going to reject this patch, a brief comment should > be added to that code to justify why that existing superfluous check > is worthwhile. It seems strange to add a comment to explain why it's there. If we're going to the trouble of doing that, then we should just remove it and add a very small comment to mention why INT8 sequences don't need to be checked. Patch attached David
Commits
-
Remove useless range checks on INT8 sequences
- e0271d5f1e87 15.0 landed