Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group