From: | Thomas F(dot)O'Connell <tfo(at)sitening(dot)com> |
---|---|
To: | Josh Close <narshe(at)gmail(dot)com> |
Cc: | POSTGRES <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: vacuum schema |
Date: | 2004-10-19 18:21:14 |
Message-ID: | A9681EFF-21FB-11D9-A5E5-000D93AE0944@sitening.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Sure. The system tables can be accessed via SQL.
I frequently use the output of psql's hidden queries to glean more
information about postgres internals for needs like yours where
postgres has the information but not the interface to accomplish a
specific task.
-tfo
On Oct 19, 2004, at 12:50 PM, Josh Close wrote:
> On Tue, 19 Oct 2004 00:48:34 -0500, Thomas F. O'Connell
> <tfo(at)sitening(dot)com> wrote:
>> Ah, yes. You're right.
>>
>> Presumably you could use the hidden query from \dn in psql to get the
>> tables necessary for a script. That's the next best thing I can think
>> of.
>
> I wrote a script to do the vacumming. I just have a config file where
> you can list the tables you want vacuumed.
>
> Can you use those tables via normal sql? It would be nice to do that
> via sql.
>
> -Josh
From | Date | Subject | |
---|---|---|---|
Next Message | Gary Doades | 2004-10-19 18:24:23 | Re: removing idle connections |
Previous Message | Joseph.Dunleavy | 2004-10-19 18:18:44 | Re: download postgreql problem |