what is the alternative of mysql_fetch_field() function in postgres??? how do i know if a particular field is primary key or not? is foreign key or not? what table and field is refenced that foreign key?
Thanks in advance