> I once had a query which would operate on a recordlist and > see whether there were any gaps larger than 1 between consecutive > primary keys.
Would you mind sharing the query you described? I am attempting to do something similar now. ---------------------------(end of broadcast)--------------------------- TIP 7: You can help support the PostgreSQL project by donating at http://www.postgresql.org/about/donate