On Fri, 15 Dec 2000, Niral Trivedi wrote: > I have very simple two questions.. > > How can we 'describe a table' and 'view all available tables' in postgres > DB?? > > I am looking for something similar to 'desc <TABLE>' and 'show tables' in > MySQL or > 'desc <TABLE>' and 'select * from tab' in Oracle.. If you are using the psql app, \d will show you all relations (tables, sequences, etc). \dt will show all tables, \dt <table> will show the details of a particualr table. See the online help \? for more info. -- Brett http://www.chapelperilous.net/~bmccoy/ --------------------------------------------------------------------------- If we all work together, we can totally disrupt the system.