<font face="arial,helvetica"><font size="2">Hi, <br /><br />I am using the following query to find the attributes of a
giventable, and <br />their datatypes: <br /><br />select typname,attname <br />from
pg_classc, pg_attribute a,pg_type t <br />where relname = 'table_name' and <br />attrelid = c.oid and <br />atttypid =
t.oidand <br />attnum > 0; <br /><br />Can anybody explain how this query actually works - I cannot figure it. <br
/>Thanksin advance. <br /><br />Rob Burne.</font></font>