summaryrefslogtreecommitdiff
path: root/src/tools/pgindent
diff options
context:
space:
mode:
authorTom Lane2023-04-08 15:48:36 +0000
committerTom Lane2023-04-08 15:48:45 +0000
commit064750af4f4ebab9c0d47d502c7ff7e3c9533f9f (patch)
treea35b3eb3c8ac0db0ac10f2a771143e72a510743e /src/tools/pgindent
parentbbec50de16d2bf6e1a2878ff0f7e39dbd86ecff8 (diff)
Improve indentation of multiline initialization expressions.
If a variable has an initialization expression that wraps onto the next line(s), pg_bsd_indent will now indent the continuation lines one stop, instead of aligning them flush with the variable declaration. We've been holding off applying this until the last v16 CF finished, but now it's time. Thomas Munro and Tom Lane Discussion: https://postgr.es/m/20230120013137.7ky7nl4e4zjorrfa@awork3.anarazel.de
Diffstat (limited to 'src/tools/pgindent')
-rwxr-xr-xsrc/tools/pgindent/pgindent2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent
index 3c48f3c46b..58692d073b 100755
--- a/src/tools/pgindent/pgindent
+++ b/src/tools/pgindent/pgindent
@@ -13,7 +13,7 @@ use IO::Handle;
use Getopt::Long;
# Update for pg_bsd_indent version
-my $INDENT_VERSION = "2.1.1";
+my $INDENT_VERSION = "2.1.2";
# Our standard indent settings
my $indent_opts =