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

Commit544e802

Browse files
committed
Fixes:
Hash indices for some data types don't work, for example for time and date.- submitted by: Massimo Dal Zotto <dz@cs.unitn.it>
1 parent94215d5 commit544e802

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

‎src/backend/catalog/pg_amop.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: pg_amop.h,v 1.1.1.1 1996/07/09 06:21:16 scrappy Exp $
10+
* $Id: pg_amop.h,v 1.2 1996/07/20 08:19:11 scrappy Exp $
1111
*
1212
* NOTES
1313
* the genbki.sh script reads this file and generates .bki
@@ -542,5 +542,15 @@ DATA(insert OID = 0 ( 405 1076 1054 1 hashsel hashnpage ));
542542
*/
543543
DATA(insertOID=0 (405107710621hashselhashnpage ));
544544

545+
/*
546+
* hash table date_ops
547+
*/
548+
DATA(insertOID=0 (405111410931hashselhashnpage ));
549+
550+
/*
551+
* hash table time_ops
552+
*/
553+
DATA(insertOID=0 (405111511081hashselhashnpage ));
554+
545555

546556
#endif/* PG_AMOP_H */

‎src/backend/catalog/pg_amproc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* Copyright (c) 1994, Regents of the University of California
1111
*
12-
* $Id: pg_amproc.h,v 1.1.1.1 1996/07/09 06:21:16 scrappy Exp $
12+
* $Id: pg_amproc.h,v 1.2 1996/07/20 08:19:13 scrappy Exp $
1313
*
1414
* NOTES
1515
* the genbki.sh script reads this file and generates .bki
@@ -130,5 +130,7 @@ DATA(insert OID = 0 (405 430 499 1));
130130
DATA(insertOID=0 (4054314561));
131131
DATA(insertOID=0 (405107610801));
132132
DATA(insertOID=0 (405107710811));
133+
DATA(insertOID=0 (40511144501));
134+
DATA(insertOID=0 (40511156941));
133135

134136
#endif/* PG_AMPROC_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp