0

I am using PostgreSQL 9.3 database.

I want to get the created types stored in the database.

Example:

If I create the types:

create type t1 as
(
  cola varchar,
  colb varchar
);

How can I get the details of them in pgAdmin III?

2
  • 1
    You need to enable the display for the "Browser Tool": pgadmin.org/docs/1.20/options-browser.html Commented Feb 13, 2015 at 7:09
  • @a_horse_with_no_name, Yeah! Got it. But is there any script to details? Commented Feb 13, 2015 at 7:22

1 Answer 1

2

Use pg_type system catalog:

SELECT * FROM PG_TYPE WHERE typname='t1';
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.