forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitff4c69e
committed
Fix up JOIN .. USING with domains
The attached fixes select_common_type() to support the below case:create table t1( c1 int);create domain dom_c1 int;create table t2(c1 dom_c1);select * from t1 join t2 using( c1 );I didn't see a need for maintaining the domain as the preferred type. Asimple getBaseType() call on all elements of the list seems to beenough.--Rod Taylor <rbt@rbt.ca>1 parentfaa8c75 commitff4c69e
1 file changed
+3
-3
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 | | |
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
| 602 | + | |
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
606 | | - | |
| 606 | + | |
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
| |||
0 commit comments
Comments
(0)