Re: Finding database names for overnight vacuum

From: David Ford <david(at)blue-labs(dot)org>
To: bpalmer <bpalmer(at)crimelabs(dot)net>
Cc: Stephen Davies <scldad(at)sdc(dot)com(dot)au>, pgsql-general(at)postgresql(dot)org
Subject: Re: Finding database names for overnight vacuum
Date: 2001-08-20 20:13:36
Message-ID: 3B816F70.5000301@blue-labs.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)crimelabs(dot)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(at)postgresql(dot)org so that your
>message can get through to the mailing list cleanly
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ryan C. Bonham 2001-08-20 20:15:39 ERROR: relation_info: Relation 41069 not found
Previous Message Ryan C. Bonham 2001-08-20 20:02:55 RE: [ODBC] Re: Updating a view