forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit50a16e3
committed
Use the right type OID after creating a shell type
Commita2e35b5 neglected to update the type OID to use furtherdown in DefineType when TypeShellMake was changed to returnObjectAddress instead of OID (it got it right in DefineRange, however.)This resulted in an internal error message being issued when looking upI/O functions.Author: Michael PaquierAlso add Asserts() to a couple of other places to ensure that the typeOID being used is as expected.1 parent450fa1b commit50a16e3
File tree
3 files changed
+15
-1
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+15
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
215 | 215 |
| |
216 | 216 |
| |
217 | 217 |
| |
| 218 | + | |
218 | 219 |
| |
219 | 220 |
| |
220 | 221 |
| |
| |||
628 | 629 |
| |
629 | 630 |
| |
630 | 631 |
| |
| 632 | + | |
631 | 633 |
| |
632 | 634 |
| |
633 | 635 |
| |
| |||
1505 | 1507 |
| |
1506 | 1508 |
| |
1507 | 1509 |
| |
1508 |
| - | |
| 1510 | + | |
1509 | 1511 |
| |
1510 | 1512 |
| |
1511 | 1513 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
110 | 116 |
| |
111 | 117 |
| |
112 | 118 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
109 | 115 |
| |
110 | 116 |
| |
111 | 117 |
| |
|
0 commit comments
Comments
(0)