Skip to content

Commit f581796

Browse files
committed
Suppress timestamp_ops for backwards compatibility with 7.1 pg_dump.
1 parent a8443da commit f581796

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/backend/parser/gram.y

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.254 2001/09/28 08:09:09 thomas Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.255 2001/10/01 04:19:18 tgl Exp $
1515
*
1616
* HISTORY
1717
* AUTHOR DATE MAJOR EVENT
@@ -2459,11 +2459,16 @@ opt_class: class
24592459
*
24602460
* Release 7.1 removes lztext_ops, so suppress that too
24612461
* for a while. tgl 2000/07/30
2462+
*
2463+
* Release 7.2 renames timestamp_ops to timestamptz_ops,
2464+
* so suppress that too for awhile. I'm starting to
2465+
* think we need a better approach. tgl 2000/10/01
24622466
*/
24632467
if (strcmp($1, "network_ops") != 0 &&
24642468
strcmp($1, "timespan_ops") != 0 &&
24652469
strcmp($1, "datetime_ops") != 0 &&
2466-
strcmp($1, "lztext_ops") != 0)
2470+
strcmp($1, "lztext_ops") != 0 &&
2471+
strcmp($1, "timestamp_ops") != 0)
24672472
$$ = $1;
24682473
else
24692474
$$ = NULL;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy