Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf581796

Browse files
committed
Suppress timestamp_ops for backwards compatibility with 7.1 pg_dump.
1 parenta8443da commitf581796

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
* AUTHORDATEMAJOR 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)

[8]ページ先頭

©2009-2025 Movatter.jp