Re: vacuum analyze syntax in psql' help - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: vacuum analyze syntax in psql' help
Date
Msg-id 199802030434.XAA03693@candle.pha.pa.us
Whole thread Raw
In response to vacuum analyze syntax in psql' help  ("Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>)
List pgsql-hackers
>
> vac=> \h vacuum
> Command: vacuum
> Description: vacuum the database, i.e. cleans out deleted records, updates statistics
> Syntax:
> vacuum [verbose] [analyze]
>         or
> vacuum [verbose] [analyze] table [analyze [(attr1, ... attrN)] ];
>                                   ^^^^^^^
> Imho, new ANALYZE syntax with attributes is quite unclear to me:

Oops, forgot to remove that second analyze.

>
> vac=> vacuum x (y);
> PQexec() -- Request was sent to backend, but backend closed the channel before responding.
>         This probably means the backend terminated abnormally before or while processing the request.
>
> How about the next:
>
> Syntax:
> vacuum [verbose] [analyze] [table]
>         or
> vacuum [verbose] analyze table (attr1, ... attrN);
>
> Vadim
>

Much better.

--
Bruce Momjian
maillist@candle.pha.pa.us

pgsql-hackers by date:

Previous
From: James Hughes
Date:
Subject: Re: [HACKERS] VACUUM ANALYZE Problem
Next
From: "Vadim B. Mikheev"
Date:
Subject: Re: [HACKERS] Re: vacuum analyze syntax in psql' help