Re: pg_dump ANALYZE statements - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: pg_dump ANALYZE statements
Date
Msg-id 87k5zff482.fsf@stark.xeocode.com
Whole thread Raw
In response to pg_dump ANALYZE statements  ("Simon Riggs" <simon@2ndquadrant.com>)
List pgsql-hackers
"Simon Riggs" <simon@2ndquadrant.com> writes:

> There doesn't seem to be any reason to skip the ANALYZE, but I'll
> implement it as an option. 
> -z on | off 
> --analyze=on | off

Only an aesthetic comment: 

Short options don't usually take on/off arguments, I would suggest making the
default be to analyze and make -z and --analyze=off disable the analyze.

You might also consider having a --analyze=verbose and perhaps a
--analyze=full though currently that would require doing vacuum analyze.

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Stefan Kaltenbrunner
Date:
Subject: Re: pg_dump ANALYZE statements
Next
From: "Simon Riggs"
Date:
Subject: Re: savepoint improvements