diff options
| author | Michael Paquier | 2019-05-23 23:19:21 +0000 |
|---|---|---|
| committer | Michael Paquier | 2019-05-23 23:19:21 +0000 |
| commit | 54487d1560619a0027e0651d1b8d715ca8fc388c (patch) | |
| tree | 911133099b5f2e27dc17865743a3212eeff996ca /src/backend/commands | |
| parent | f916221df5652b95c402847905bdf48950b5b281 (diff) | |
Fix table dump in pg_dump[all] with backends older than 9.5
The access method name "amname" can be dumped as of 3b925e90, but
queries for backends older than 9.5 forgot to map it to a dummy NULL
value, causing the column to not be mapped to a number. As a result,
pg_dump was throwing some spurious errors in its stderr output coming
from libpq:
pg_dump: column number -1 is out of range 0..36
Fix this issue by adding a mapping of "amname" to NULL to all the older
queries.
Discussion: https://postgr.es/m/[email protected]
Author: Michael Paquier
Reviewed-by: Dmitry Dolgov, Andres Freund, Tom Lane
Diffstat (limited to 'src/backend/commands')
0 files changed, 0 insertions, 0 deletions
