Re: pgindent vs variable declaration across multiple lines

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pgindent vs variable declaration across multiple lines
Дата
Msg-id CA+TgmobDU1jRiH5TuTQfT_Rx4Xw_FCj+3-kbvqhmxkRXh-MQ-A@mail.gmail.com
обсуждение исходный текст
Ответ на pgindent vs variable declaration across multiple lines  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Thu, Jan 19, 2023 at 8:31 PM Andres Freund <andres@anarazel.de> wrote:
> I know I can leave the variable initially uninitialized and then do a separate
> assignment, but that's not a great fix.

That's what I do.

If you pick names for all of your data types that are very very long
and wordy then you don't feel as bad about this, because you were
gonna need a line break anyway. :-)

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgindent vs variable declaration across multiple lines
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Introduce a new view for checkpointer related stats