diff options
author | Nathan Bossart <nathan@postgresql.org> | 2025-04-04 21:05:30 -0500 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2025-04-04 21:05:30 -0500 |
commit | f0d0083f52f994989b1bb6723e7bd0fad9f586cd (patch) | |
tree | f4468bb077a027d73c87b898f8de29a7b5629822 /src/backend/executor/nodeProjectSet.c | |
parent | 43b8e6c4abfb632bbff5b3a26dc39bf3f188afff (diff) | |
download | postgresql-f0d0083f52f994989b1bb6723e7bd0fad9f586cd.tar.gz postgresql-f0d0083f52f994989b1bb6723e7bd0fad9f586cd.zip |
pg_dump: Fix query for gathering attribute stats on older versions.
Commit 9c02e3a986 taught pg_dump to retrieve attribute statistics
for 64 relations at a time. pg_dump supports dumping from v9.2 and
newer versions, but our query for retrieving statistics for
multiple relations uses WITH ORDINALITY and multi-argument
UNNEST(), both of which were introduced in v9.4. To fix, we resort
to gathering statistics for a single relation at a time on versions
older than v9.4.
Per buildfarm member crake.
Author: Corey Huinker <corey.huinker@gmail.com>
Discussion: https://postgr.es/m/Z_BcWVMvlUIJ_iuZ%40nathan
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions