- Notifications
You must be signed in to change notification settings - Fork5
Commitd70a944
committed
Bug#1: attribute name when column is type cast:
Given the following table:test=# \d f Table "f" Column | Type | Modifiers--------+---------+----------- i | integer | test | text |If I do the following:test=# insert into f values(1,'test');INSERT 139549 1test=# select i::int8,test from f; ?column? | test----------+------ 1 | test(1 row)It doesn't make much sense that the first column should be called'?column?'.The patch results in the output appearing like this:test=# select i::int8,test from f; i | test---+------ 1 | test(1 row)----------Gavin Sherry1 parentbe18a49 commitd70a944
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
462 | 462 |
| |
463 | 463 |
| |
464 | 464 |
| |
465 |
| - | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
466 | 469 |
| |
467 | 470 |
| |
468 | 471 |
| |
|
0 commit comments
Comments
(0)