Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Databases -> Statistics -> Size shows NaN B for size for all databases #7524

Closed
robe2 opened this issue Jun 1, 2024 · 4 comments
Closed
Assignees
Milestone

Comments

@robe2
Copy link

robe2 commented Jun 1, 2024

Please note that security bugs or issues should be reported to [email protected].

Describe the bug

When you navigate to Databases -> Statistics

The Size column for all databases shows NaN B.

Before it used to show the size of the database. I think this is a new issue in pgAdmin 8.7, because on another computer where I still have pgAdmin 8.6 installed, I still see the sizes.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Servers -> Databases
  2. Click on Statistics tab
  3. Look at the Size column and note the NaN B in all rows. Other columns seem to have data as expected.

Expected behavior

It should show the size of each database.

Screenshots
image

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 11
  • Version: 8.7
  • Mode: Desktop
  • Package type: [e.g. RPM, DEB, Python, Container, etc.] - Installer
@robe2 robe2 added the Bug label Jun 1, 2024
@dangelsaurus
Copy link

I hope 8.7 is pulled, unless they're trying to push people away from PGAdmin, this is one of the worst releases I've seen in a while from them

@akshay-joshi akshay-joshi added this to the 8.8 milestone Jun 3, 2024
akshay-joshi added a commit that referenced this issue Jun 3, 2024
@alund-catt
Copy link

This bug appears to affect all "Statistics" tab views when a parent-type explorer node is selected (such as Databases, Tables, Indexes, etc.). Statistics for individual object selections show sizes correctly.

@akshay-joshi
Copy link
Contributor

We have already fixed the issue, you can test on the snapshot build https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/2024-06-04/

@anilsahoo20
Copy link
Contributor

Tested and verified on candidate build:https://developer.pgadmin.org/builds/2024-06-05-1/
Environment: Debian 12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants