1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-19 17:02:53 +03:00

Add relallfrozen to pg_dump statistics.

Author: Corey Huinker <corey.huinker@gmail.com>
Discussion: https://postgr.es/m/CADkLM=desCuf3dVHasADvdUVRmb-5gO0mhMO5u9nzgv6i7U86Q@mail.gmail.com
This commit is contained in:
Jeff Davis
2025-03-30 22:14:06 -07:00
parent 2a5e709e72
commit 4694aedf63
4 changed files with 43 additions and 8 deletions

View File

@@ -648,6 +648,11 @@ sub adjust_new_dumpfile
$dump =~ s {\n(\s+'version',) '\d+'::integer,$}
{$1 '000000'::integer,}mg;
if ($old_version < 18)
{
$dump =~ s {,\n(\s+'relallfrozen',) '-?\d+'::integer$}{}mg;
}
# pre-v16 dumps do not know about XMLSERIALIZE(NO INDENT).
if ($old_version < 16)
{