RE: run pgindent on a regular basis / scripted manner

From: "Shinoda, Noriyoshi (PN Japan FSIP)" <noriyoshi(dot)shinoda(at)hpe(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>, Jelte Fennema <postgres(at)jeltef(dot)nl>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, "Andres Freund" <andres(at)anarazel(dot)de>, Noah Misch <noah(at)leadboat(dot)com>, "Peter Geoghegan" <pg(at)bowt(dot)ie>, Bruce Momjian <bruce(at)momjian(dot)us>, Magnus Hagander <magnus(at)hagander(dot)net>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, "Stephen Frost" <sfrost(at)snowman(dot)net>, Jesse Zhang <sbjesse(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: run pgindent on a regular basis / scripted manner
Date: 2023-02-09 02:29:41
Message-ID: DM4PR84MB1734DE48B1800024DABE9A57EED99@DM4PR84MB1734.NAMPRD84.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
I tried the committed pgindent.
The attached small patch changes spaces in the usage message to tabs.
Options other than --commit start with a tab.

Regards,
Noriyoshi Shinoda

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
Sent: Thursday, February 9, 2023 7:10 AM
To: Jelte Fennema <postgres(at)jeltef(dot)nl>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>; Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>; Justin Pryzby <pryzby(at)telsasoft(dot)com>; Andres Freund <andres(at)anarazel(dot)de>; Noah Misch <noah(at)leadboat(dot)com>; Peter Geoghegan <pg(at)bowt(dot)ie>; Bruce Momjian <bruce(at)momjian(dot)us>; Magnus Hagander <magnus(at)hagander(dot)net>; Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>; Stephen Frost <sfrost(at)snowman(dot)net>; Jesse Zhang <sbjesse(at)gmail(dot)com>; pgsql-hackers(at)postgresql(dot)org
Subject: Re: run pgindent on a regular basis / scripted manner

On 2023-02-08 We 12:06, Jelte Fennema wrote:

With the new patch --commit works as expected for me now. And sounds

good to up the script a bit afterwards.

Thanks, I have committed this. Still looking at Robert's other request.

cheers

andrew

--

Andrew Dunstan

EDB: https://www.enterprisedb.com<https://www.enterprisedb.com>

Attachment Content-Type Size
pgindent_usage_v1.diff application/octet-stream 630 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2023-02-09 02:31:49 Re: [Proposal] Add foreign-server health checks infrastructure
Previous Message Andres Freund 2023-02-09 02:22:34 Re: Move defaults toward ICU in 16?