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 — Unnecessary Option in Refresh MATERIALIZED VIEW Dialog · Issue #8309 · pgadmin-org/pgadmin4

Unnecessary Option in Refresh MATERIALIZED VIEW Dialog #8309

New issue
Copy link
New issue
Copy link
Closed
Closed
Unnecessary Option in Refresh MATERIALIZED VIEW Dialog#8309
Copy link
Assignees
RohitBhati8269
Labels
Bug
Milestone
9.0

Description

@NishchayDBA
NishchayDBA
opened on Dec 31, 2024
Issue body actions

Hi Team,

The option "Refresh MATERIALIZED VIEW WITH NO DATA Concurrently" is erroneously displayed in the pgAdmin interface, as shown in the attached screenshot. This option is not supported by PostgreSQL and results in an error when executed.

Steps to Reproduce:

  1. Open pgAdmin and navigate to a MATERIALIZED VIEW.
  2. Select the option to refresh the MATERIALIZED VIEW.
  3. Observe the list of refresh methods in the interface.
  4. Attempt to execute the "WITH NO DATA Concurrently" method.

Observed Behavior:

The option "Refresh MATERIALIZED VIEW WITH NO DATA Concurrently" is available for selection.
Executing this option results in the following PostgreSQL error message:

2024-12-28 10:11:08.980 +08 [27264] ERROR: CONCURRENTLY and WITH NO DATA options cannot be used together
2024-12-28 10:11:08.980 +08 [27264] STATEMENT: REFRESH MATERIALIZED VIEW CONCURRENTLY my_schema.my_materialized_view WITH NO DATA;

I think the option "WITH NO DATA Concurrently" should not be displayed, as PostgreSQL does not support this combination of options. The WITH NO DATA mode is meant for metadata updates and does not involve data repopulation, making the CONCURRENTLY keyword redundant and invalid.

Additionally, this issue may lead to confusion for users and failed operations, especially for those unfamiliar with the limitations of PostgreSQL's REFRESH MATERIALIZED VIEW syntax.

It would be great if this option "WITH NO DATA Concurrently" will be remove from the refresh method dropdown in pgAdmin.

Additional Information:

pgAdmin version: pgAdmin4 8.14 Desktop Mode
PostgreSQL version: PostgreSQL 15.8 on x86
Screenshots attached for clarity.

image
image
image

Activity

  1. pravesh-sharma
    added this to Not Refinedon Dec 31, 2024
  2. anilsahoo20
    added this to Current Sprint (213) and removed this from Not Refinedon Jan 3, 2025
  3. anilsahoo20
    moved this to 🆕 New in Current Sprint (213)on Jan 3, 2025
  4. anilsahoo20
    added
    Bug
    EDB Sprint 184
    on Jan 3, 2025
  5. yogeshmahajan-1903
    self-assigned this
    on Jan 6, 2025
  6. yogeshmahajan-1903
    added a commit that references this issue on Jan 6, 2025

    Remove the option "With no data (concurrently)" from Refresh MATERIAL…

    7cc56d5
  7. yogeshmahajan-1903
    moved this from 🆕 New to 🏗 In Progress in Current Sprint (213)on Jan 6, 2025
  8. yogeshmahajan-1903
    moved this from 🏗 In Progress to In Review in Current Sprint (213)on Jan 6, 2025
  9. akshay-joshi
    added a commit that references this issue on Jan 7, 2025

    Remove the option "With no data (concurrently)" from Refresh MATERIAL…

    b9c7e7e
  10. akshay-joshi
    moved this from In Review to In Testing in Current Sprint (213)on Jan 7, 2025
  11. akshay-joshi
    added this to the 9.0 milestone on Jan 7, 2025
  12. akshay-joshi
    unassigned
    yogeshmahajan-1903
    on Jan 7, 2025
  13. RohitBhati8269
    self-assigned this
    on Jan 14, 2025
  14. RohitBhati8269 commented on Jan 15, 2025

    @RohitBhati8269
    RohitBhati8269
    on Jan 15, 2025
    Contributor
    More actions

    Tested and verified on snapshot build: https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/2025-01-14/
    Package: wheel
    Environment: macOs Sequoia 15.0.1

  15. RohitBhati8269
    closed this as completedon Jan 15, 2025
  16. RohitBhati8269
    moved this from In Testing to ✅ Done in Current Sprint (213)on Jan 15, 2025
  17. akshay-joshi
    removed this from Current Sprint (213)on Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @RohitBhati8269
    RohitBhati8269

Labels

Bug

Type

No type

Projects

No projects

    Milestone

    • 9.0

    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.