Re: GIN fast insert - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: GIN fast insert
Date
Msg-id 49956B1A.8010101@enterprisedb.com
Whole thread Raw
In response to Re: GIN fast insert  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: GIN fast insert
Re: GIN fast insert
List pgsql-hackers
Teodor Sigaev wrote:
>> So?  Barring some evidence that there's a significant performance win
>> from a conventional indexscan, this is a weak argument.  AFAICS the only
>> significant advantage of the conventional API is to support ordered
>> scans, and GIN doesn't do that anyway.
> What about  SELECT ... AND EXISTS (SELECT ... t @@ query) ?
> But I don't believe that is popular use-case. In most cases, GIN is used 
> with bitmap scan. Your emails are so convincing and I'll remove support 
> amgettuple interface in GIN.

SELECT * FROM foo WHERE t @@ query LIMIT 100

might be a fairly common use case.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: "BogDan Vatra"
Date:
Subject: Re: SE-PostgreSQL and row level security
Next
From: Teodor Sigaev
Date:
Subject: Re: GIN fast insert