Re: Fix \dT enum in psql - Mailing list pgsql-patches

From David Fetter
Subject Re: Fix \dT enum in psql
Date
Msg-id 20080502025838.GA30808@fetter.org
Whole thread Raw
In response to Re: Fix \dT enum in psql  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Fix \dT enum in psql  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-patches
On Thu, May 01, 2008 at 10:53:00PM -0400, Andrew Dunstan wrote:
> David Fetter wrote:
>> Folks,
>>
>> In psql, \dT doesn't show the elements for enums.  Please find
>> patch vs. CVS TIP attached which fixes this per the following TODO
>> item:
>>
>> http://archives.postgresql.org/pgsql-hackers/2008-01/msg00826.php
>
> I don't have a particular problem with this patch - indeed the query
> in it looks eerily familiar :-)

I can't imagine why ;)

> However, I'm wondering if we should wait until a possible rework of
> the mechanics of enums as recently discussed? Or we could put it in
> and that way it would have to be redone when enums are rejigged.

I'm thinking getting it in there soon will keep the bitrot to a
minimum.  One thing it doesn't include is regression tests.  Shall I
add a few?

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Fix \dT enum in psql
Next
From: Andrew Dunstan
Date:
Subject: Re: Fix \dT enum in psql