Hi,
I want to extract the below column details of a given table of PostgreSQL database.
1.column name
2.column data type
3.column length
4.column precision
5.column scale
6.column's default value
I can get this information from information_sch ema.columns view but i can't rely on this schema because the user can drop this schema. So i want to get the information from pg_catalog schema only.
Thanks,
Venkat Chitta,
Technical Consultant,
Infor,
Hyderabad, India.
I want to extract the below column details of a given table of PostgreSQL database.
1.column name
2.column data type
3.column length
4.column precision
5.column scale
6.column's default value
I can get this information from information_sch ema.columns view but i can't rely on this schema because the user can drop this schema. So i want to get the information from pg_catalog schema only.
Thanks,
Venkat Chitta,
Technical Consultant,
Infor,
Hyderabad, India.
Comment