newbie qs; examining databases and tables

newbie qs; examining databases and tables

Post by Ross J. Reedstro » Sat, 26 Oct 2002 04:12:22

> Ok, thanks.

and one more:

\? -- lists 'slash' commands

And just in case it comes up:

launch psql with the -E switch, to see the SQL queries that
are performed to get that data.


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster


1. newbie qs; examining databases and tables

I'm someone with some mysql experience and need to set up postgres for
a product we're evaluating.  In mysql I can use SHOW DATABASES to list
all of the databases on the system, USE DB1 to switch to one of the
databases, SHOW TABLES to list all of the table names in the database
I'm USEing, and DESCRIBE TABLE1 to list all of the column names, data
types, etc. for a table.

How do I do the equivalent with postgresql?  Are there equivalent SQL

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command

2. Trouble with an aggregate function in a query.

3. Newbie:examine existing database?

4. using JDBC ?

5. newbie qs; fixing and checking databases

6. Displaying multiple non- modal windows containing a different table or Query.

7. Newbie Qs on instances and tablespaces

8. Update with subquery

9. Examining internal table structures

10. Debugging code - examine all open tables

11. Best way to examine database structure

12. examine the PostgerSQL database

13. how to monitor/examine the database