Re: About "Our CLUSTER implementation is pessimal" patch - Mailing list pgsql-hackers

From Leonardo F
Subject Re: About "Our CLUSTER implementation is pessimal" patch
Date
Msg-id 2601.38715.qm@web29001.mail.ird.yahoo.com
Whole thread Raw
In response to Re: About "Our CLUSTER implementation is pessimal" patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: About "Our CLUSTER implementation is pessimal" patch
List pgsql-hackers
> Note you should be looking at pg_am.amcanorder, not
> hardwiring knowledge of particular index types.


Ok.

Would it make sense to use

FormIndexDatum

to get the index value to be used by tuplesort?

I'm having trouble avoiding the call to _bt_mkscankey_nodata
to get the scanKeys... that relates to btree only, I can't find
the "general" function...





pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [COMMITTERS] pgsql: Replace ALTER TABLE ...
Next
From: Robert Haas
Date:
Subject: Re: attoptions