Postgresql Index Scan Vs Sequence And Pattern Formula