forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit46aaa5d
committed
Appears there is a problem finding the opclass when indexing a domain.
CREATE DOMAIN newint as int4;CREATE TABLE tab (col newint unique);ERROR: data type newint has no default operator class for access method"btree" You must specify an operator class for the index or define a default operator class for the data typeSpecifically, GetDefaultOpClass() finds 0 exact matches and 3 binarycompatible matches. Fetching getBaseType() of the attribute fixes theproblem for domains (see attachment).Rod Taylor1 parent45e2544 commit46aaa5d
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
485 | 488 | | |
486 | 489 | | |
487 | 490 | | |
| |||
0 commit comments
Comments
(0)