Re: Show method of index

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: decibel <decibel(at)decibel(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Greg Stark <greg(dot)stark(at)enterprisedb(dot)com>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Ricardo Bessa <ricardobessa(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Show method of index
Date: 2009-05-19 15:52:25
Message-ID: E4B42A04-D399-4125-937C-1AEA60EF5F2D@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On May 19, 2009, at 11:31 AM, decibel <decibel(at)decibel(dot)org> wrote:

> On May 19, 2009, at 10:27 AM, Tom Lane wrote:
>> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>>> On May 19, 2009, at 10:02 AM, Greg Stark <greg(dot)stark(at)enterprisedb(dot)com
>>> >
>>> wrote:
>>>> One advantage of the current arrangement is that the constraints
>>>> and
>>>> triggers are almost (though not quite) in the same form as the
>>>> command to create them. It would be sad to lose that competely.
>>
>>> Agreed.
>>
>> +1 --- I *very* often find myself copying-and-pasting from \d output,
>> and the proposed tabular format would be a huge step backwards for
>> that. Personally I kinda wish that the column display were closer
>> to what CREATE TABLE wants ...
>
> Hmm.... what if we made the default to be all-tabular output, but
> had a different command that would spit out the SQL to re-create
> something?

How 'bout we flip that around? :-)

...Robert

>
>
> (I agree that the cut-and-paste ability is extremely handy and
> wouldn't want to remove it.)
> --
> Decibel!, aka Jim C. Nasby, Database Architect decibel(at)decibel(dot)org
> Give your computer some brain candy! www.distributed.net Team #1828
>
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sebastien FLAESCH 2009-05-19 16:27:33 Re: INTERVAL data type and libpq - what format?
Previous Message Tom Lane 2009-05-19 15:44:25 Re: Show method of index