Low: pgsql: simplify picking out data status