Re: [GENERAL] Limitation - Mailing list pgsql-general

From Dustin Sallings
Subject Re: [GENERAL] Limitation
Date
Msg-id Pine.SGI.3.95.990624120446.28677A-100000@bleu.west.spy.net
Whole thread Raw
In response to Re: [GENERAL] Limitation  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-general
On Thu, 24 Jun 1999, Bruce Momjian wrote:

# > 1.  Have more than 7 fields on a btree index
#
# We have never understood why someone would want an index with more than
# seven columns.

    Honestly, I think it's the same reason someone would want to
insert data as a single string, then create a view that does substrings to
produce the appearance of a multi-column table (which, I assume is then
selected on from certain fields, causing table scans).  Sometimes, people
try to wedge efficiency into an inefficient design, which rarely works.
My approach here would be to substr before insertion, then make a view to
concatenate the results.

--
SA, beyond.com           My girlfriend asked me which one I like better.
pub  1024/3CAE01D5 1994/11/03 Dustin Sallings <dustin@spy.net>
|    Key fingerprint =  87 02 57 08 02 D0 DA D6  C8 0F 3E 65 51 98 D8 BE
L_______________________ I hope the answer won't upset her. ____________


pgsql-general by date:

Previous
From: Artur Pietruk
Date:
Subject: Re: [GENERAL] Problems building pgsql 6.5/6.4 on AIX gcc
Next
From: "John Huttley"
Date:
Subject: Re: [GENERAL] Limitation