Re: indentation in _hash_pgaddtup()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: indentation in _hash_pgaddtup()
Дата
Msg-id 3897973.1669321914@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: indentation in _hash_pgaddtup()  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: indentation in _hash_pgaddtup()  (Ted Yu <yuzhihong@gmail.com>)
Re: indentation in _hash_pgaddtup()  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> After running pgindent on v2, I see it still pushes the lines out
> quite far. If I add a new line after PageGetItemId(page, and put the
> variable assignment away from the variable declaration then it looks a
> bit better. It's still 1 char over the limit.

If you wanted to be hard-nosed about 80 character width, you could
pull out the PageGetItemId call into a separate local variable.
I wasn't going to be quite that picky, but I won't object if that
seems better to you.

            regards, tom lane



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: indentation in _hash_pgaddtup()
Следующее
От: Ted Yu
Дата:
Сообщение: Re: indentation in _hash_pgaddtup()