struct _helpStruct
{
- const char *cmd; /* the command name */
- const char *help; /* the help associated with it */
- const char *docbook_id; /* DocBook XML id (for generating URL) */
- void (*syntaxfunc)(PQExpBuffer); /* function that prints the syntax associated with it */
- int nl_count; /* number of newlines in syntax (for pager) */
+ const char *cmd; /* the command name */
+ const char *help; /* the help associated with it */
+ const char *docbook_id; /* DocBook XML id (for generating URL) */
+ void (*syntaxfunc) (PQExpBuffer); /* function that prints the
+ * syntax associated with it */
+ int nl_count; /* number of newlines in syntax (for pager) */
};
extern const struct _helpStruct QL_HELP[];
{
my $id = $_;
$id =~ s/ /_/g;
- print $cfile_handle " { \"$_\",
- N_(\"$entries{$_}{cmddesc}\"),
- \"$entries{$_}{cmdid}\",
- sql_help_$id,
- $entries{$_}{nl_count} },
+ print $cfile_handle "\t{\"$_\",
+\t\tN_(\"$entries{$_}{cmddesc}\"),
+\t\t\"$entries{$_}{cmdid}\",
+\t\tsql_help_$id,
+\t$entries{$_}{nl_count}},
";
}
print $cfile_handle "
- { NULL, NULL, NULL } /* End of list marker */
+\t{NULL, NULL, NULL}\t\t\t/* End of list marker */
};
";
#define QL_MAX_CMD_LEN $maxlen /* largest strlen(cmd) */
-#endif /* $define */
+#endif /* $define */
";
close $cfile_handle;
printf $fh qq{ opmask[OP_%-12s] = 0;\t/* %s */ \\\n},
uc($opname), opdesc($opname);
}
-printf $fh " /* end */ \n";
+printf $fh " /* end */\n";
close $fh
or die "Error closing $plperl_opmask_tmp: $!";
not maintained locally, and are machine-generated anyway. Likewise for
plperl/ppport.h.
+src/include/jit/llvmjit.h is excluded because it contains C++ constructs
+that confuse pgindent.
+
+src/backend/utils/probes.h and its alias src/include/utils/probes.h
+are excluded because that file is machine-generated by code not under
+our control, and some versions of dtrace build files that confuse
+pgindent.
+
The perltidy run processes all *.pl and *.pm files, plus a few
executable Perl scripts that are not named that way. See the "find"