diff options
author | Jeff Davis <jdavis@postgresql.org> | 2024-10-24 12:08:00 -0700 |
---|---|---|
committer | Jeff Davis <jdavis@postgresql.org> | 2024-10-24 12:08:00 -0700 |
commit | d32d1463995c036853eeb9ec99cc367ffc7794ae (patch) | |
tree | 491939500c012087a5dbcd07382ba2f507cbbd26 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 534d0ea6c2b915ac9745d2f070afacd7ba003d28 (diff) | |
download | postgresql-d32d1463995c036853eeb9ec99cc367ffc7794ae.tar.gz postgresql-d32d1463995c036853eeb9ec99cc367ffc7794ae.zip |
Add functions pg_restore_relation_stats(), pg_restore_attribute_stats().
Similar to the pg_set_*_stats() functions, except with a variadic
signature that's designed to be more future-proof. Additionally, most
problems are reported as WARNINGs rather than ERRORs, allowing most
stats to be restored even if some cannot.
These functions are intended to be called from pg_dump to avoid the
need to run ANALYZE after an upgrade.
Author: Corey Huinker
Discussion: https://postgr.es/m/CADkLM=eErgzn7ECDpwFcptJKOk9SxZEk5Pot4d94eVTZsvj3gw@mail.gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions