Re: Index USING in pg_dump

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Index USING in pg_dump
Date: 2002-03-08 16:07:57
Message-ID: 200203081607.g28G7vd16160@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > This is possible because btree is the default. TODO item is:
> > * Remove USING clause from pg_get_indexdef() if index is btree (Bruce)
>
> I do not think this is necessary or helpful. The only possible
> reason to change it would be if we thought btree might someday
> not be the default index type --- but no such change is on the
> horizon. And if one was, you've just embedded special knowledge
> about btree in yet one more place...

Yes, but it doesn't look like the way they created it. Very few use
USING in there queries. Why show it in pg_dump output?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-03-08 16:35:11 Re: Index USING in pg_dump
Previous Message Marc Munro 2002-03-08 16:06:33 Re: point in time recovery and moving datafiles online

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-03-08 16:35:11 Re: Index USING in pg_dump
Previous Message Rod Taylor 2002-03-08 12:59:30 Re: Domain Support -- another round