diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-10-01 04:19:18 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-10-01 04:19:18 +0000 |
commit | f58179669a94f3246d55d0ff31d7df85b4d46695 (patch) | |
tree | d7792a1e3d0b471d108503ac202513e860b9341a | |
parent | a8443da57a0843b93eb2f92cbc799d33534ff630 (diff) | |
download | postgresql-f58179669a94f3246d55d0ff31d7df85b4d46695.tar.gz postgresql-f58179669a94f3246d55d0ff31d7df85b4d46695.zip |
Suppress timestamp_ops for backwards compatibility with 7.1 pg_dump.
-rw-r--r-- | src/backend/parser/gram.y | 9 |
1 files 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; |