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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user