pgsql: pg_dump: prepare attribute stats query.
pgsql: pg_dump: prepare attribute stats query.
От:
Jeff Davis <jdavis@postgresql.org>
Дата:
pg_dump: prepare attribute stats query. Follow precedent in pg_dump for preparing queries to improve performance. Also, simplify the query by removing unnecessary joins. Reviewed-by: Tom Lane Reported-by: Andres Freund Co-authored-by: Corey Huinker Co-authored-by: Jeff Davis Discussion: https://postgr.es/m/CADkLM=dRMC6t8gp9GVf6y6E_r5EChQjMAAh_vPyih_zMiq0zvA@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/6ee3b91bad269b8f1acee38607bd17923efd6e06 Modified Files -------------- src/bin/pg_dump/pg_backup.h | 1 + src/bin/pg_dump/pg_dump.c | 123 ++++++++++++++++++++------------------------ 2 files changed, 58 insertions(+), 66 deletions(-)