POSTGRESQL GAPS IN SEQUENCES