Re: Remove useless int64 range checks on BIGINT sequence MINVALUE/MAXVALUE values

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Remove useless int64 range checks on BIGINT sequence MINVALUE/MAXVALUE values
Дата
Msg-id CAApHDvpDm-vQLNkrbfSD4Vc=M3GV6QbzqmOnQOmb-xzf=DsPzQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Remove useless int64 range checks on BIGINT sequence MINVALUE/MAXVALUE values  (Greg Nancarrow <gregn4422@gmail.com>)
Ответы Re: Remove useless int64 range checks on BIGINT sequence MINVALUE/MAXVALUE values
Список pgsql-hackers
On Mon, 12 Jul 2021 at 16:48, Greg Nancarrow <gregn4422@gmail.com> wrote:
>
> On Mon, Jul 12, 2021 at 2:26 PM David Rowley <dgrowleyml@gmail.com> wrote:
> >
> > > 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.
> >
> > Any thoughts on this, Greg?
> >
>
> The patch LGTM (it's the same as my original patch but with short comments).

Yeah, it's your patch with the comment reduced down to 2 lines.  This
was to try and address Peter's concern that the comment is too large.
This seemed to put him off the patch.  I also disagreed that it made
sense to remove 2 fairly harmless lines of code to replace them with
12 lines of comments.

What I was trying to get to here was something that was more
reasonable that might make sense to commit.  I'm just not certain
where Peter stands on this now that the latest patch is a net zero
when it comes to adding lines. Peter?

David



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Rahila Syed
Дата:
Сообщение: Re: Column Filtering in Logical Replication
Следующее
От: vignesh C
Дата:
Сообщение: Re: Added schema level support for publication.