Re: pgindent vs. pgperltidy command-line arguments - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pgindent vs. pgperltidy command-line arguments
Date
Msg-id e20c444f-695c-d0c2-2153-65f54474d847@eisentraut.org
Whole thread Raw
In response to Re: pgindent vs. pgperltidy command-line arguments  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pgindent vs. pgperltidy command-line arguments
List pgsql-hackers
On 20.06.23 17:38, Andrew Dunstan wrote:
>>> +1, although I wonder if we shouldn't follow pgindent's new lead
>>> and require some argument(s).
>>
>> That makes sense to me.  Here is a small update with this behavior 
>> change and associated documentation update.
> 
> I'm intending to add some of the new pgindent features to pgperltidy. 
> Preparatory to that here's a rewrite of pgperltidy in perl - no new 
> features yet but it does remove the hardcoded path, and requires you to 
> pass in one or more files / directories as arguments.

Are you planning to touch pgperlcritic and pgperlsyncheck as well?  If 
not, part of my patch would still be useful.  Maybe I should commit my 
posted patch for PG16, to keep consistency with pgindent, and then your 
work would presumably be considered for PG17.



pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: ProcessStartupPacket(): database_name and user_name truncation
Next
From: Julian Markwort
Date:
Subject: Re: [BUG] recovery of prepared transactions during promotion can fail