Index USING in pg_dump

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Index USING in pg_dump
Date: 2002-03-08 04:51:52
Message-ID: 200203080451.g284pqT02419@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

The following patch supresses "USING btree" for btree indexes in
pg_dump:

CREATE INDEX ii ON test (x);

CREATE INDEX kkas ON test USING hash (x);

This is possible because btree is the default. TODO item is:

* Remove USING clause from pg_get_indexdef() if index is btree (Bruce)

--
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

Attachment Content-Type Size
unknown_filename text/plain 1.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-03-08 05:09:46 Re: Patch for removal of RULE bracket use
Previous Message Bruce Momjian 2002-03-08 04:29:03 Char selectivity

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2002-03-08 04:53:03 Re: Small fix for _valueCopy()
Previous Message Tom Lane 2002-03-08 04:46:25 Re: Small fix for _copySetConstraintsStmt