fix: determine pgdata size by pgdata subdir

Description

Other files from the same pool may affect PGDATA size statistics, that why we should determine it by PGDATA subdir.

Related issue

Examples

Checklist

  • the MR description has been reviewed
  • this MR contains text changes and they have been reviewed OR there are no texts changes
  • this MR contains GUI/CLI changes and they have been reviewed OR there are no GUI/CLI changes
  • this MR contains API changes and they have been reviewed OR there are no API changes

Merge request reports

Loading