Re: Index USING in pg_dump - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Index USING in pg_dump
Date
Msg-id 200203081607.g28G7vd16160@candle.pha.pa.us
Whole thread Raw
In response to Re: Index USING in pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Index USING in pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Index USING in pg_dump  (nconway@klamath.dyndns.org (Neil Conway))
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Robert Schrem
Date:
Subject: UB-Tree
Next
From: Tom Lane
Date:
Subject: Re: Index USING in pg_dump