From: | "Williams, Travis L" <tlw(at)att(dot)com> |
---|---|
To: | "Rich Parker" <RichParker(at)fssi-ca(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: New to list, quick question. |
Date: | 2003-08-15 17:25:59 |
Message-ID: | AB815D267EC31A4693CC24D234F8291605809871@ACCLUST02EVS1.ugd.att.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
@results = `print \'\\d\' |/usr/local/pgsql/bin/psql travis`;
Travis
-----Original Message-----
From: Rich Parker [mailto:RichParker(at)fssi-ca(dot)com]
Sent: Friday, August 15, 2003 10:35 AM
To: pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] New to list, quick question.
Hello everyone.
I have been using PostgreSQL for about 3-4 years now, it's wonderful how
I can make it do things and write Perl programs to interface with it.
Since I do all of the DBA behind the scenes on our company Intranet
(Linux-Apache based), and I really prefer writing Perl programs to do my
simple admin functions. I really like those \d commands (via telnet) and
they tell me a lot of what I need for writing new programs etc, but I
would really like a way to use those through my Perl programs, but
haven't found a way to do so, has anyone done this in this manner yet?
Also, I'd like a way to query a table to find out how much space it is
using, like it's percentage for example, is there a way to do that?
Excuse me if these questions have been asked before, I tried to search
the LIST area and I also did not see anything related to this in the
FAQS.
Thanks for any info you can provide me.
--
Rich Parker
http://www.fssi-ca.com
mailto:RichParker(at)fssi-ca(dot)com
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
From | Date | Subject | |
---|---|---|---|
Next Message | elein | 2003-08-15 17:26:14 | Re: join of array |
Previous Message | Andreas Pflug | 2003-08-15 17:20:48 | Re: [GENERAL] 7.4Beta |