GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Show only non-empty nodes/categories/groups in pgAdmin-4 (RM #7357) · Issue #5048 · pgadmin-org/pgadmin4

Show only non-empty nodes/categories/groups in pgAdmin-4 (RM #7357) #5048

New issue
Copy link
New issue
Copy link
Closed
Closed
Show only non-empty nodes/categories/groups in pgAdmin-4 (RM #7357)#5048
Copy link
Assignees
FaharAbbasRizvi
Labels
Feature
Milestone
7.2

Description

@dpage
dpage
opened on May 4, 2022
Issue body actions

Issue migrated from Redmine: https://redmine.postgresql.org/issues/7357
Originally created by Jan Zidek at 2022-05-04 15:38:29 UTC.

In the IntelliJ Idea's Database View, you can hide all the empty categories/nodes/groups by unchecking the Show Empty Groups switch.

In the following example, in my database the only existing objects are tables and functions. I am not disturbed by a lot of unused categories.

Is it possible to achieve a similar effect in pgAdmin?

All I found in the settings is Preferences | Nodes | Show/Hide nodes in the browser tree, but these settings are static, they do not reflect the presence of objects in the categories.
!https://i.stack.imgur.com/uPpzU.png!

pgAdmin - always all categories

!https://i.stack.imgur.com/bisYV.png!

See also https://dba.stackexchange.com/q/311642/55104

Activity

Next
  1. dpage commented on May 6, 2022

    @dpage
    dpage
    on May 6, 2022
    ContributorAuthor
    More actions

    Comment migrated from Redmine: https://redmine.postgresql.org/issues/7357#note-1
    Originally created by Aditya Toshniwal at 2022-05-06 10:05:14 UTC.

    Redmine ticket header update:

    Name Old Value New Value
    Sprint changed Ready
    Subject changed How to show only non-empty nodes/categories/groups in pgAdmin-4? Show only non-empty nodes/categories/groups in pgAdmin-4
    Tracker changed Support Feature
  2. akshay-joshi
    added this to Ready for Sprint Featureson Sep 20, 2022
  3. akshay-joshi
    removed
    Ready
    on Jan 20, 2023
  4. akshay-joshi
    added
    EDB Sprint 139
    on Mar 29, 2023
  5. akshay-joshi
    added this to Current Sprint (213) and removed this from Ready for Sprint Featureson Mar 29, 2023
  6. akshay-joshi
    moved this to 🆕 New in Current Sprint (213)on Mar 29, 2023
  7. akshay-joshi
    added
    EDB Sprint 140
    and removed
    EDB Sprint 139
    on Apr 12, 2023
  8. adityatoshniwal
    moved this from 🆕 New to 🏗 In Progress in Current Sprint (213)on Apr 19, 2023
  9. adityatoshniwal
    self-assigned this
    on Apr 19, 2023
  10. akshay-joshi
    added
    EDB Sprint 141
    and removed
    EDB Sprint 140
    on Apr 26, 2023
  11. akshay-joshi
    added
    EDB Sprint 142
    and removed
    EDB Sprint 141
    on May 9, 2023
  12. 24 remaining items

  13. FaharAbbasRizvi commented on May 25, 2023

    @FaharAbbasRizvi
    FaharAbbasRizvi
    on May 25, 2023
    Contributor
    More actions

    @adityatoshniwal

    Index nodes should be disabled for metalized views if the user disabled the Show empty object collections? from the preferences.
    Screen Shot 2023-05-25 at 6 12 33 PM

  14. FaharAbbasRizvi commented on May 25, 2023

    @FaharAbbasRizvi
    FaharAbbasRizvi
    on May 25, 2023
    Contributor
    More actions

    Aggregated should also be disabled if the user disabled the Show empty object collections? from the preferences.
    CREATE OR REPLACE AGGREGATE public.avg(double precision) (
    SFUNC = float8_accum,
    STYPE = float8[] ,
    FINALFUNC = float8_avg,
    FINALFUNC_MODIFY = READ_ONLY,
    INITCOND = '{0,0,0}',
    MFINALFUNC_MODIFY = READ_ONLY
    );
    Screen Shot 2023-05-25 at 6 25 04 PM

  15. adityatoshniwal
    moved this from In Testing to 🏗 In Progress in Current Sprint (213)on May 26, 2023
  16. adityatoshniwal
    added 2 commits that reference this issue on May 26, 2023

    Fix issues related to show/hide empty nodes feature. pgadmin-org#5048

    a7070fd

    Fix issues related to show/hide empty nodes feature. #5048

    72794f9
  17. adityatoshniwal commented on May 29, 2023

    @adityatoshniwal
    adityatoshniwal
    on May 29, 2023
    Contributor
    More actions

    HI @FaharAbbasRizvi,

    The aggregates one is not reproducible. And we cannot hide pgAgent node as there is no way to add jobs without that node. So I have skipped pgAgent node. All other issues mentioned are fixed.

    Thanks.

  18. adityatoshniwal
    removed their assignment
    on May 29, 2023
  19. adityatoshniwal
    moved this from 🏗 In Progress to In Testing in Current Sprint (213)on May 29, 2023
  20. adityatoshniwal
    added a commit that references this issue on May 29, 2023

    Fix count SQL for EPAS schemas to show/hide nodes. #5048

    396a22b
  21. FaharAbbasRizvi commented on May 29, 2023

    @FaharAbbasRizvi
    FaharAbbasRizvi
    on May 29, 2023
    Contributor
    More actions

    All issues have been fixed and now I am closing this ticket.

  22. FaharAbbasRizvi
    closed this as completedon May 29, 2023
  23. FaharAbbasRizvi
    moved this from In Testing to ✅ Done in Current Sprint (213)on May 29, 2023
  24. akshay-joshi
    removed this from Current Sprint (213)on Jun 7, 2023
  25. akshay-joshi
    added 2 commits that reference this issue on Jun 15, 2023

    Fix issues related to show/hide empty nodes feature. pgadmin-org#5048

    7518fb9

    Fix count SQL for EPAS schemas to show/hide nodes. pgadmin-org#5048

    4e475ad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @FaharAbbasRizvi
    FaharAbbasRizvi

Labels

Feature

Type

No type

Projects

No projects

    Milestone

    • 7.2

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.