diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/pgindent/README | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/tools/pgindent/README b/src/tools/pgindent/README index aae95173a83..72a55dd6d41 100644 --- a/src/tools/pgindent/README +++ b/src/tools/pgindent/README @@ -1,7 +1,14 @@ This can format all PostgreSQL *.c and *.h files, excluding libpq++, *.y, and *.l files. -On 09/06/1997, from the top directory, I ran: +Get the list of typedef's included in pgindent by running this on the +pgsql/bin directory: + + /src/tools/find_typedef + +and update the list in pgindent. + +From the top directory, run: find . -name '*.[ch]' -type f -print | egrep -v '\+\+|s_lock.h' | xargs -n100 pgindent @@ -23,12 +30,6 @@ If you don't believe me, take a directory and make a copy. Run pgindent on the copy using GNU indent, and do a diff -r. You will see what I mean. GNU indent does some things better, but mangles too. -We get the list of typedef's included in pgindent by running: - - /src/tools/find_typedef - -Make sure to do the pgsql/bin directory, and the src/interfaces/odbc -directory. Merge the output of these and remove duplicates. --------------------------------------------------------------------------- |