PostgreSql stores: use subqueries for core IDs
PostgreSql slice store: implement getSlicesFlag
PostgreSql slice store: use wCTE for conflict sets
PostgreSql slice store: free query results
PostgreSql slice store: remove unused object
PostgreSql slice store: set block slices flag
PostgreSql segment store: fix several SQL bugs