Re: pgindent vs variable declaration across multiple lines - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pgindent vs variable declaration across multiple lines
Date
Msg-id CA+TgmobDU1jRiH5TuTQfT_Rx4Xw_FCj+3-kbvqhmxkRXh-MQ-A@mail.gmail.com
Whole thread
In response to pgindent vs variable declaration across multiple lines  (Andres Freund <andres@anarazel.de>)
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: Re: pgindent vs variable declaration across multiple lines
Next
From: Nathan Bossart
Date:
Subject: Re: Introduce a new view for checkpointer related stats