forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit54487d1
committed
Fix table dump in pg_dump[all] with backends older than 9.5
The access method name "amname" can be dumped as of3b925e9, butqueries for backends older than 9.5 forgot to map it to a dummy NULLvalue, causing the column to not be mapped to a number. As a result,pg_dump was throwing some spurious errors in its stderr output comingfrom libpq:pg_dump: column number -1 is out of range 0..36Fix this issue by adding a mapping of "amname" to NULL to all the olderqueries.Discussion:https://postgr.es/m/20190522083038.GA16837@paquier.xyzAuthor: Michael PaquierReviewed-by: Dmitry Dolgov, Andres Freund, Tom Lane1 parentf916221 commit54487d1
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6113 | 6113 |
| |
6114 | 6114 |
| |
6115 | 6115 |
| |
| 6116 | + | |
6116 | 6117 |
| |
6117 | 6118 |
| |
6118 | 6119 |
| |
| |||
6162 | 6163 |
| |
6163 | 6164 |
| |
6164 | 6165 |
| |
| 6166 | + | |
6165 | 6167 |
| |
6166 | 6168 |
| |
6167 | 6169 |
| |
| |||
6211 | 6213 |
| |
6212 | 6214 |
| |
6213 | 6215 |
| |
| 6216 | + | |
6214 | 6217 |
| |
6215 | 6218 |
| |
6216 | 6219 |
| |
| |||
6260 | 6263 |
| |
6261 | 6264 |
| |
6262 | 6265 |
| |
| 6266 | + | |
6263 | 6267 |
| |
6264 | 6268 |
| |
6265 | 6269 |
| |
| |||
6307 | 6311 |
| |
6308 | 6312 |
| |
6309 | 6313 |
| |
| 6314 | + | |
6310 | 6315 |
| |
6311 | 6316 |
| |
6312 | 6317 |
| |
| |||
6353 | 6358 |
| |
6354 | 6359 |
| |
6355 | 6360 |
| |
| 6361 | + | |
6356 | 6362 |
| |
6357 | 6363 |
| |
6358 | 6364 |
| |
| |||
6399 | 6405 |
| |
6400 | 6406 |
| |
6401 | 6407 |
| |
| 6408 | + | |
6402 | 6409 |
| |
6403 | 6410 |
| |
6404 | 6411 |
| |
| |||
6444 | 6451 |
| |
6445 | 6452 |
| |
6446 | 6453 |
| |
| 6454 | + | |
6447 | 6455 |
| |
6448 | 6456 |
| |
6449 | 6457 |
| |
|
0 commit comments
Comments
(0)