fix "workflow list" for postgres