mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-06 22:17:39 +08:00
Fix a few more generator scripts to produce pgindent-clean output.
This completes the project of making all our derived files be pgindent-clean (or else explicitly excluded from indentation), so that no surprises result when running pgindent in a built-out development tree. Discussion: https://postgr.es/m/79ed5348-be7a-b647-dd40-742207186a22@2ndquadrant.com
This commit is contained in:
@ -37,8 +37,8 @@ while (<$errcodes>)
|
||||
# Change some_error_condition to SomeErrorCondition
|
||||
$condition_name =~ s/([a-z])([^_]*)(?:_|$)/\u$1$2/g;
|
||||
|
||||
print "{ \"spiexceptions.$condition_name\", "
|
||||
. "\"$condition_name\", $errcode_macro },\n";
|
||||
print "\n{\n\t\"spiexceptions.$condition_name\", "
|
||||
. "\"$condition_name\", $errcode_macro\n},\n";
|
||||
}
|
||||
|
||||
close $errcodes;
|
||||
|
||||
Reference in New Issue
Block a user