From b6d45222969a82aff0e9f115842c87136d429479 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Mon, 8 Oct 2012 20:36:46 -0400
Subject: [PATCH] Remove generation of repl_gram.h

It was apparently never necessary.
---
 src/backend/Makefile               | 1 -
 src/backend/replication/.gitignore | 1 -
 src/backend/replication/Makefile   | 4 +---
 3 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/src/backend/Makefile b/src/backend/Makefile
index 89fca4943af..119f7aff89d 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -311,7 +311,6 @@ maintainer-clean: distclean
 	      catalog/postgres.description \
 	      catalog/postgres.shdescription \
 	      replication/repl_gram.c \
-	      replication/repl_gram.h \
 	      replication/repl_scanner.c \
 	      utils/fmgroids.h \
 	      utils/fmgrtab.c \
diff --git a/src/backend/replication/.gitignore b/src/backend/replication/.gitignore
index a0332b230d5..2a0491d1496 100644
--- a/src/backend/replication/.gitignore
+++ b/src/backend/replication/.gitignore
@@ -1,3 +1,2 @@
 /repl_gram.c
-/repl_gram.h
 /repl_scanner.c
diff --git a/src/backend/replication/Makefile b/src/backend/replication/Makefile
index 9d9ec87c9af..1f93ac1e5d1 100644
--- a/src/backend/replication/Makefile
+++ b/src/backend/replication/Makefile
@@ -22,11 +22,9 @@ include $(top_srcdir)/src/backend/common.mk
 # repl_scanner is compiled as part of repl_gram
 repl_gram.o: repl_scanner.c
 
-# See notes in src/backend/parser/Makefile about the following two rules
-
 repl_gram.c: repl_gram.y
 ifdef BISON
-	$(BISON) -d $(BISONFLAGS) -o $@ $<
+	$(BISON) $(BISONFLAGS) -o $@ $<
 else
 	@$(missing) bison $< $@
 endif
-- 
GitLab