aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-09-04 18:45:52 +0000
committerBruce Momjian <bruce@momjian.us>2002-09-04 18:45:52 +0000
commitaf3cf2cfa85b16650db7f9b537c8b85ddce7b97c (patch)
treed189be2143a6bf3eb5e60954185e1a6c0958db2d /src
parentf20e3c33d90f16c9f41b61daaf3e5e432537069f (diff)
downloadpostgresql-af3cf2cfa85b16650db7f9b537c8b85ddce7b97c.tar.gz
postgresql-af3cf2cfa85b16650db7f9b537c8b85ddce7b97c.zip
Update to reflect Tom's suggestions.
Diffstat (limited to 'src')
-rw-r--r--src/tools/pgindent/README15
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.
---------------------------------------------------------------------------