summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-10-05 12:26:55 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-10-05 12:26:55 -0400
commitea9c0e1c0deb1b179dcb0ea37879b97d594d0cca (patch)
tree7cfdf98fc051244df5a2b100e0e7af2c028c0cee
parent2212e01316ff421300d0a0d20e132ebeae12bcff (diff)
Avoid use of wildcard in pg_waldump's .gitignore.
This would be all right, maybe, if it didn't also match a file that definitely should not be ignored. We don't add rmgrs so often that manual maintenance of this file list is impractical, so just write out the list. (I find the equivalent wildcard use in the Makefile pretty lazy and unsafe as well, but will leave that alone until it actually causes a problem.) Per bug #16042 from Denis Stuchalin. Discussion: https://postgr.es/m/16042-c174ee692ac21cbd@postgresql.org
-rw-r--r--src/bin/pg_waldump/.gitignore23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/bin/pg_waldump/.gitignore b/src/bin/pg_waldump/.gitignore
index 0013a93189c..9a8b02ea0d8 100644
--- a/src/bin/pg_waldump/.gitignore
+++ b/src/bin/pg_waldump/.gitignore
@@ -1,4 +1,25 @@
/pg_waldump
+
# Source files copied from src/backend/access/rmgrdesc/
-/*desc.c
+/brindesc.c
+/clogdesc.c
+/committsdesc.c
+/dbasedesc.c
+/genericdesc.c
+/gindesc.c
+/gistdesc.c
+/hashdesc.c
+/heapdesc.c
+/logicalmsgdesc.c
+/mxactdesc.c
+/nbtdesc.c
+/relmapdesc.c
+/replorigindesc.c
+/seqdesc.c
+/smgrdesc.c
+/spgdesc.c
+/standbydesc.c
+/tblspcdesc.c
+/xactdesc.c
+/xlogdesc.c
/xlogreader.c