Re: Finding database names for overnight vacuum - Mailing list pgsql-general

From David Ford
Subject Re: Finding database names for overnight vacuum
Date
Msg-id 3B816F70.5000301@blue-labs.org
Whole thread Raw
In response to Re: Finding database names for overnight vacuum  (bpalmer <bpalmer@crimelabs.net>)
Responses Re: Finding database names for overnight vacuum  (bpalmer <bpalmer@crimelabs.net>)
List pgsql-general
have you tried "psql -l"?

David

bpalmer wrote:

>>I have a cron job which vacuums etc all of my databases but it does not
>>work with 7.1.2 because of the change in structure of .../data/base.
>>
>>It currently says:
>>
>>for q in /usr/local/pgsql/data/base/*; do
>>blaa
>>blaa
>>done
>>
>>How does one get an equivalent list of all databases from 7.1.2?
>>(and where is it documented?)
>>
>
>Not sure where it's documented,  but checkout contrib/oid2name in the
>source ball.
>
>- Brandon
>
>----------------------------------------------------------------------------
> b. palmer,  bpalmer@crimelabs.net            pgp:crimelabs.net/bpalmer.pgp5
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
>subscribe-nomail command to majordomo@postgresql.org so that your
>message can get through to the mailing list cleanly
>



pgsql-general by date:

Previous
From: "Mitch Vincent"
Date:
Subject: Re: Querry optimisation in Postgres SQL
Next
From: Denis Perchine
Date:
Subject: Re: Re: Perfomance decreasing