1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-28 18:48:04 +03:00

Update to reflect Tom's suggestions.

This commit is contained in:
Bruce Momjian
2002-09-04 18:45:52 +00:00
parent f20e3c33d9
commit af3cf2cfa8
2 changed files with 18 additions and 17 deletions

View File

@@ -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.
---------------------------------------------------------------------------