postgresql/src
Michael Paquier 54487d1560 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/20190522083038.GA16837@paquier.xyz
Author: Michael Paquier
Reviewed-by: Dmitry Dolgov, Andres Freund, Tom Lane
2019-05-24 08:19:21 +09:00
..
backend Fix array size allocation for HashAggregate hash keys. 2019-05-23 15:26:01 +01:00
bin Fix table dump in pg_dump[all] with backends older than 9.5 2019-05-24 08:19:21 +09:00
common Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
fe_utils Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
include Initial pgperltidy run for v12. 2019-05-22 13:36:19 -04:00
interfaces Initial pgperltidy run for v12. 2019-05-22 13:36:19 -04:00
makefiles Define WIN32_STACK_RLIMIT throughout win32 and cygwin builds. 2019-04-09 08:25:39 -07:00
pl Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
port Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
template Yet further rethinking of build changes for macOS Mojave. 2018-11-02 18:54:00 -04:00
test Fix array size allocation for HashAggregate hash keys. 2019-05-23 15:26:01 +01:00
timezone Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
tools Initial pgperltidy run for v12. 2019-05-22 13:36:19 -04:00
tutorial Phase 2 pgindent run for v12. 2019-05-22 13:04:48 -04:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Consistently test for in-use shared memory. 2019-04-12 22:36:38 -07:00
Makefile.shlib Ensure static libraries have correct mod time even if ranlib messes it up. 2018-11-29 15:53:44 -05:00
nls-global.mk Move logging.h and logging.c from src/fe_utils/ to src/common/. 2019-05-14 14:20:10 -04:00