| From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | perltidy tweaks |
| Date: | 2018-04-26 16:04:23 |
| Message-ID: | 5e6998ed-89c4-fb6a-6584-13b3e689fb38@2ndquadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
I prpose two tweaks for the perltidy configuration:
- The new perltidy version can avoid writing backup files, so we don't
need to explicitly delete them after.
- Use option --nooutdent-long-quotes. This is similar to a change we
made for pgindent in the C code a while ago. See patch for the results.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-perltidy-Don-t-write-backup-files.patch | text/plain | 1.3 KB |
| 0002-perltidy-Add-option-nooutdent-long-quotes.patch | text/plain | 115.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2018-04-26 16:06:12 | Scariest patch tournament, PostgreSQL 11 edition |
| Previous Message | Tom Lane | 2018-04-26 15:29:10 | Re: unused_oids script is broken with bsd sed |