forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3067ac8
committed
From: Massimo Dal Zotto <dz@cs.unitn.it>After some playing with gdb I found that in printtup() there is a non nullattribute with typeinfo->attrs[i]->atttypid = 0 (invalid oid). Unfortunatelyattibutes with invalid type are neither printed nor marked as null, and thisexplains why psql doesn't get all the expected data.So I made this patch to printtup():
1 parent3b7d13a commit3067ac8
1 file changed
+11
-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 | | |
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
127 | 128 | | |
128 | | - | |
| 129 | + | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
143 | 151 | | |
144 | 152 | | |
145 | 153 | | |
| |||
0 commit comments
Comments
(0)