Re: Fix \dT enum in psql

From: David Fetter <david(at)fetter(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Fix \dT enum in psql
Date: 2008-05-02 02:58:38
Message-ID: 20080502025838.GA30808@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com

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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2008-05-02 03:07:42 Re: Fix \dT enum in psql
Previous Message Andrew Dunstan 2008-05-02 02:53:00 Re: Fix \dT enum in psql