Re: vacuumdb --all --analyze-in-stages - wrong order? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: vacuumdb --all --analyze-in-stages - wrong order?
Date
Msg-id 54125007.1030509@gmx.net
Whole thread Raw
In response to Re: vacuumdb --all --analyze-in-stages - wrong order?  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: vacuumdb --all --analyze-in-stages - wrong order?
List pgsql-hackers
On 9/4/14 4:23 PM, Pavel Stehule wrote:
> It is little bit hard to read.

> maybe better be more verbose - and it can be in alone function, because
> it is "analyze only"
> 
> if (stage == -1)
> {
>   for (i = 0; i < 3; i++)
>   {
>         puts(gettext(stage_messages[i]));
>         executeCommand(conn, stage_commands[i], progname, echo);
>         run_vacuum_command(conn, sql.data, echo, dbname, table, progname);
>   }
> }
> else
> {
>     puts(gettext(stage_messages[stage]));
>     executeCommand(conn, stage_commands[stage], progname, echo);
>     run_vacuum_command(conn, sql.data, echo, dbname, table, progname);
> }

Done that way, thanks!





pgsql-hackers by date:

Previous
From: Tomonari Katsumata
Date:
Subject: Re: Commitfest status
Next
From: Arthur Silva
Date:
Subject: Re: jsonb format is pessimal for toast compression