Re: Statistics Import and Export - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: Statistics Import and Export
Date
Msg-id CADkLM=ccvjLJeGnWzbH8N=2aBNpnL5HnwC4Ny2LqFVJyGH5ZKw@mail.gmail.com
Whole thread Raw
In response to Re: Statistics Import and Export  (Corey Huinker <corey.huinker@gmail.com>)
Responses Re: Statistics Import and Export
List pgsql-hackers
v23:

Split pg_set_relation_stats into two functions: pg_set_relation_stats with named parameters like it had around v19 and pg_restore_relations_stats with the variadic parameters it has had in more recent versions, which processes the variadic parameters and then makes a call to pg_set_relation_stats.

Split pg_set_attribute_stats into two functions: pg_set_attribute_stats with named parameters like it had around v19 and pg_restore_attribute_stats with the variadic parameters it has had in more recent versions, which processes the variadic parameters and then makes a call to pg_set_attribute_stats.

The intention here is that the named parameters signatures are easier for ad-hoc use, while the variadic signatures are evergreen and thus ideal for pg_dump/pg_upgrade.

rebased to a0a5869a8598cdeae1d2f2d632038d26dcc69d19 (master as of early July 18)

Attachment

pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Built-in CTYPE provider
Next
From: Pogosyan Vardan
Date:
Subject: Re: Removing unneeded self joins