From f58179669a94f3246d55d0ff31d7df85b4d46695 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Mon, 1 Oct 2001 04:19:18 +0000
Subject: [PATCH] Suppress timestamp_ops for backwards compatibility with 7.1
 pg_dump.

---
 src/backend/parser/gram.y | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index 0298742c611..68c28f1d9b9 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -11,7 +11,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.254 2001/09/28 08:09:09 thomas Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.255 2001/10/01 04:19:18 tgl Exp $
  *
  * HISTORY
  *	  AUTHOR			DATE			MAJOR EVENT
@@ -2459,11 +2459,16 @@ opt_class:  class
 					 *
 					 * Release 7.1 removes lztext_ops, so suppress that too
 					 * for a while.  tgl 2000/07/30
+					 *
+					 * Release 7.2 renames timestamp_ops to timestamptz_ops,
+					 * so suppress that too for awhile.  I'm starting to
+					 * think we need a better approach.  tgl 2000/10/01
 					 */
 					if (strcmp($1, "network_ops") != 0 &&
 						strcmp($1, "timespan_ops") != 0 &&
 						strcmp($1, "datetime_ops") != 0 &&
-						strcmp($1, "lztext_ops") != 0)
+						strcmp($1, "lztext_ops") != 0 &&
+						strcmp($1, "timestamp_ops") != 0)
 						$$ = $1;
 					else
 						$$ = NULL;
-- 
GitLab