Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MS SQL Server syslog equivalent table in POSTGRESQL

Status
Not open for further replies.

VCNewbie

Programmer
Dec 5, 2001
8
PH
Is there a way to get a table information from a POSTGRESQL database much like the one in SQL Server's sys_objects table? I need to code a javabean which will programatically read table information like the number of fields of a certain table and the data type of each field. How will I be able to achieve this in POSTGRESQL? Thanks in advance!

Raymond (now a java newbie =) )
 
The system tables in postgresql are prefixed pg_<table name> and are numerous ... i'm sure i've seena pg_tables in there at some point but for some reson i can't seem to find it on the cygwin db i'm using under windoze ... ahh it's a view.
they're well worth further investigation though ....

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top