Re: displaying enum

From: Lennin Caro <lennin(dot)caro(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org, Jagadeesh <mnjagadeesh(at)gmail(dot)com>
Subject: Re: displaying enum
Date: 2008-09-22 15:56:30
Message-ID: 424829.9369.qm@web59503.mail.ac4.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


--- On Mon, 9/22/08, Jagadeesh <mnjagadeesh(at)gmail(dot)com> wrote:

> From: Jagadeesh <mnjagadeesh(at)gmail(dot)com>
> Subject: [ADMIN] displaying enum
> To: pgsql-admin(at)postgresql(dot)org
> Date: Monday, September 22, 2008, 1:20 PM
> Hi admins,
>
> I had created enum and forgotten what were the values. Is
> there any
> way to see what I created?
>
> Thanks

what version of postgresql you have?

try this query

select * from pg_type a,pg_enum b
where a.oid = b.enumtypid

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Brian A. Seklecki 2008-09-22 16:00:23 Re: SIGKILL and force disconnecting user sessions
Previous Message Tino Schwarze 2008-09-22 15:06:34 Re: SIGKILL and force disconnecting user sessions