> Maybe if some index had the indisclustered bit set one could select > that; but is it possible for some table to have more than one index with > it? Intuition (but no code observation) says no. And what happens with > those tables that do not have any such index?
The bool marker sounds useful. Falling back on the primary key is probably the most appropriate. ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html