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

From Corey Huinker
Subject Re: Statistics Import and Export
Date
Msg-id CADkLM=dRMC6t8gp9GVf6y6E_r5EChQjMAAh_vPyih_zMiq0zvA@mail.gmail.com
Whole thread Raw
In response to Re: Statistics Import and Export  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Statistics Import and Export
List pgsql-hackers
That's a good point but let's avoid excessive redundancy in the
structures. Adding a few fields to RelStatsInfo should be enough.

Regards,
        Jeff Davis

Incorporating most of the feedback (I kept a few of the appendNamedArgument() calls)  presented over the weekend.

* removeVersionNumStr is gone
* relpages/reltuples/relallvisible are now char[32] buffers in RelStatsInfo and nowhere else (existing relpages conversion remains, however)
* attribute stats export query is now prepared, and queries pg_stats with no joins
* version parameter moved to end of both queries for consistency.
 
Attachment

pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: PATCH: warn about, and deprecate, clear text passwords
Next
From: Jelte Fennema-Nio
Date:
Subject: Flaky 003_start_stop.pl test