Re: [GENERAL] How can I obtain tables' structure?

From: Paul Mookhachov <paul(at)pmfd(dot)ru>
To: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] How can I obtain tables' structure?
Date: 1998-12-07 08:40:52
Message-ID: 366B9494.DB7C5713@pmfd.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Jackson, DeJuan" wrote:

> >
> > > How can I obtain information about tables' structure and list of
> > tables
> > > using psql.lib or Pg.pm (perl package)?
> >
> > all you have to do is to make a request likt this :
> > 'select * from <table>' ($req = $cbase->exec ('select * from table'))
> I'd use 'select * from <table> where false'. It save the table scan and

Well. I use same way. But may be I can do "select" from some system table?
There are several tables called pg_*. They contain miscellaneous information,
but I can't understand it.

------------------------
Paul E Mookhachov paul(at)pmfd(dot)ru
System administrator of phone: +7 /812/ 329-8102
St-Petersburg Interbank St-Petersbirg
Financial House B.Zelenina st, 24

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Octavian-Catalin JULA 1998-12-08 07:18:14 EROR : stat failed on file /usr/local/pgsql/lib/plpgsql.so
Previous Message Bzz Gy 1998-12-07 08:06:36 subscribe