I do pg_dump -u -s dbname > db_schema I look at that db_schema file, I only see the primary keys but no foreign keys. I don't understand what is OID use for. Will -o option dump the foreign keys for me? Thank you! -- Why we want to teach our babies to talk and walk, then later we tell them "sit down!", "be quiet!" ? Democracy is not a better way for a solution, it is just another way to spread the blames. --Raymond
begin:vcard n:Chui;Raymond tel;fax:(301)713-0963 tel;home:ICQ #: 16722494 tel;work:(301)713-0624 Ext. 168 x-mozilla-html:TRUE url:http://members.xoom.com/rchui/ org:NWS, NOAA version:2.1 email;internet:[EMAIL PROTECTED] title:SA, DBA adr;quoted-printable:;;NOAA, NWS, Office of Hydrology, W/OH2=0D=0A1325 East-West Highway, Room 8112;Silver Spring;MD;20910-3283;U.S.A. x-mozilla-cpt:;30256 fn:Raymond Chui end:vcard