From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | chirag(dot)dave(at)gmail(dot)com |
Cc: | Jagadeesh <mnjagadeesh(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: displaying enum |
Date: | 2008-09-22 16:29:42 |
Message-ID: | dcc563d10809220929i6ca35cd6tb874a0eeb68d93ee@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Does anyone know if there's plans afoot to add this to 8.4 psql as a
\d command? Seems it could be useful. Heck, if there was just a bit
more data in the \dT output we'd be set.
On Mon, Sep 22, 2008 at 8:53 AM, <chirag(dot)dave(at)gmail(dot)com> wrote:
> Assuming you are are running 8.3, you can do this:
>
> SELECT a.typname,b.enumlabel from pg_type a , pg_enum b where
> a.oid=b.enumtypid and a.typname='NAME_OF_ENUM';
>
> Chirag Dave
> Afilias
>
>
> On Mon, Sep 22, 2008 at 9:20 AM, Jagadeesh <mnjagadeesh(at)gmail(dot)com> wrote:
>>
>> Hi admins,
>>
>> I had created enum and forgotten what were the values. Is there any
>> way to see what I created?
>>
>> Thanks
>>
>> --
>> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-admin
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2008-09-22 16:49:25 | Re: Error while trying to back up database: out of memroy |
Previous Message | Brian A. Seklecki | 2008-09-22 16:00:23 | Re: SIGKILL and force disconnecting user sessions |