Fix Postgres test for SegmentDescription changes
Implement getSegmentsFlag for PostgreSqlSegmentStore
Add stack ID to Postgres block queries