Re: vacuum full for all databases - Mailing list pgsql-general

From Richard Huxton
Subject Re: vacuum full for all databases
Date
Msg-id 4136D3DD.1060909@archonet.com
Whole thread Raw
In response to vacuum full for all databases  (Ilia Chipitsine <ilia@paramon.ru>)
Responses Re: vacuum full for all databases
Re: vacuum full for all databases
List pgsql-general
Ilia Chipitsine wrote:
> Dear Sirs
>
> I'm about to write plpgsql function which will "vacuum full" all existing
> databases. Below is an example how to get list of databases.
>
> What should I write instead of "raise notice" ?

>   raise notice ''datname = %'',list.datname;

Something like:
   EXECUTE ''VACUUM FULL '' || list.datname;

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: vacuum full for all databases
Next
From: Ilia Chipitsine
Date:
Subject: Re: vacuum full for all databases