Re: run pgindent on a regular basis / scripted manner

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: Jeff Davis <pgsql(at)j-davis(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Bruce Momjian <bruce(at)momjian(dot)us>, David Rowley <dgrowleyml(at)gmail(dot)com>, Jelte Fennema <postgres(at)jeltef(dot)nl>, Jesse Zhang <sbjesse(at)gmail(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Noah Misch <noah(at)leadboat(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Peter Geoghegan <pg(at)bowt(dot)ie>, Robert Haas <robertmhaas(at)gmail(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, akapila(at)postgresql(dot)org, akorotkov(at)postgresql(dot)org, amitlan(at)postgresql(dot)org, efujita(at)postgresql(dot)org, ishii(at)postgresql(dot)org, jdavis(at)postgresql(dot)org, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, "shiy(dot)fnst(at)fujitsu(dot)com" <shiy(dot)fnst(at)fujitsu(dot)com>, tomas(dot)vondra(at)postgresql(dot)org
Subject: Re: run pgindent on a regular basis / scripted manner
Date: 2023-10-24 04:31:32
Message-ID: ZTdIpNd773rWcMmw@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Oct 24, 2023 at 10:16:55AM +0900, Amit Langote wrote:
> +1. While I’ve made it part of routine to keep my local work pgindented
> since breaking Joel once, an option like this would still be useful.

I'd be OK with an option like that. It is one of these things to type
once in a script, then forget about it.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2023-10-24 04:56:10 Re: Incorrect handling of OOM in WAL replay leading to data loss
Previous Message Andrei Lepikhov 2023-10-24 04:25:12 Re: BUG #17540: Prepared statement: PG switches to a generic query plan which is consistently much slower