aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2016-06-12 04:19:56 -0400
committerNoah Misch <noah@leadboat.com>2016-06-12 04:19:56 -0400
commit3be0a62ffe58f0753d190cbe22acbeb8b4926b85 (patch)
tree6da431545c91d5f54d56b38208e8f946dcdbd6b4 /src/backend/storage
parentb098abf90537edf0ce9c70e8eb55320baf6e445d (diff)
downloadpostgresql-3be0a62ffe58f0753d190cbe22acbeb8b4926b85.tar.gz
postgresql-3be0a62ffe58f0753d190cbe22acbeb8b4926b85.zip
Finish pgindent run for 9.6: Perl files.
Diffstat (limited to 'src/backend/storage')
-rw-r--r--src/backend/storage/lmgr/generate-lwlocknames.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/storage/lmgr/generate-lwlocknames.pl b/src/backend/storage/lmgr/generate-lwlocknames.pl
index c22fbb6cbb2..f79d17ca703 100644
--- a/src/backend/storage/lmgr/generate-lwlocknames.pl
+++ b/src/backend/storage/lmgr/generate-lwlocknames.pl
@@ -7,7 +7,7 @@ use warnings;
use strict;
my $lastlockidx = -1;
-my $continue = "\n";
+my $continue = "\n";
open my $lwlocknames, $ARGV[0] or die;
@@ -18,7 +18,7 @@ open H, '>', $htmp or die "Could not open $htmp: $!";
open C, '>', $ctmp or die "Could not open $ctmp: $!";
my $autogen =
- "/* autogenerated from src/backend/storage/lmgr/lwlocknames.txt, do not edit */\n";
+"/* autogenerated from src/backend/storage/lmgr/lwlocknames.txt, do not edit */\n";
print H $autogen;
print H "/* there is deliberately not an #ifndef LWLOCKNAMES_H here */\n\n";
print C $autogen, "\n";
@@ -38,7 +38,7 @@ while (<$lwlocknames>)
(my $lockname, my $lockidx) = ($1, $2);
- die "lwlocknames.txt not in order" if $lockidx < $lastlockidx;
+ die "lwlocknames.txt not in order" if $lockidx < $lastlockidx;
die "lwlocknames.txt has duplicates" if $lockidx == $lastlockidx;
while ($lastlockidx < $lockidx - 1)
@@ -49,7 +49,7 @@ while (<$lwlocknames>)
}
printf C "%s \"%s\"", $continue, $lockname;
$lastlockidx = $lockidx;
- $continue = ",\n";
+ $continue = ",\n";
print H "#define $lockname (&MainLWLockArray[$lockidx].lock)\n";
}