From b5f582b7ab48c352d2b94a488194eaea087a30fa Mon Sep 17 00:00:00 2001
From: "Thomas G. Lockhart" <lockhart@fourpalms.org>
Date: Sat, 25 Oct 1997 05:25:10 +0000
Subject: [PATCH] Rename column to avoid "action" SQL92 reserved word.

---
 src/include/catalog/pg_rewrite.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/include/catalog/pg_rewrite.h b/src/include/catalog/pg_rewrite.h
index 3cf2afde97a..8ec1ba8b9fe 100644
--- a/src/include/catalog/pg_rewrite.h
+++ b/src/include/catalog/pg_rewrite.h
@@ -7,7 +7,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pg_rewrite.h,v 1.4 1997/09/08 02:35:25 momjian Exp $
+ * $Id: pg_rewrite.h,v 1.5 1997/10/25 05:25:10 thomas Exp $
  *
  * NOTES
  *	  the genbki.sh script reads this file and generates .bki
@@ -38,7 +38,7 @@ CATALOG(pg_rewrite)
 	int2		ev_attr;
 	bool		is_instead;
 	text		ev_qual;		/* VARLENA */
-	text		action;			/* VARLENA */
+	text		ev_action;		/* VARLENA */
 } FormData_pg_rewrite;
 
 /* ----------------
@@ -59,6 +59,6 @@ typedef FormData_pg_rewrite *Form_pg_rewrite;
 #define Anum_pg_rewrite_ev_attr			4
 #define Anum_pg_rewrite_is_instead		5
 #define Anum_pg_rewrite_ev_qual			6
-#define Anum_pg_rewrite_action			7
+#define Anum_pg_rewrite_ev_action		7
 
 #endif							/* PG_REWRITE_H */
-- 
GitLab