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 — Can't create a new column in ERD tool · Issue #10812 · pgadmin-org/pgadmin4

Can't create a new column in ERD tool #10812

New issue
Copy link
New issue
Copy link
Todo
Todo
Can't create a new column in ERD tool#10812
Copy link
Assignees
diamondsNick
Labels
Bug

Description

@diamondsNick
diamondsNick
opened on Nov 22, 2026
Issue body actions

Describe the bug

After a usage of "One-to-One Relation" button when trying to create a new column in the used table it brings an error.

To Reproduce

Steps to reproduce the behavior:

  1. Double left click on the table in ERD tool
  2. Click on the Columns page
  3. Click on the "Add row" button
  4. See the error

Expected behavior

A column creation menu opens normally, allows user to create a new column.

Error message

"Something went wrong."

Screenshots

изображение

Desktop (please complete the following information):

  • OS: Windows 11
  • pgAdmin version: 9.19
  • Mode: Desktop
  • Package type: x64 desktop client

Additional context

This problem occured when I created a new 1 to 1 relation via means of the interface. When I tried to add a new column, this bug happened. I fixed this issue by removing a relation created by "One-to-One Relation" button. After that, it allowed me to create column without any errors.

Activity

  1. diamondsNick
    added
    Bug
    on Nov 22, 2026
  2. Shreyanshsingh23 commented on Nov 23, 2026

    @Shreyanshsingh23
    Shreyanshsingh23
    on Nov 23, 2026
    More actions

    can i take this one? going to repro it on master first. looks like the one-to-one relation leaves the table's column data in a shape the columns grid's add row doesn't expect, since removing the relation makes it work again. will send a PR with the fix once i've pinned it down

  3. diamondsNick commented on Nov 23, 2026

    @diamondsNick
    diamondsNick
    on Nov 23, 2026
    Author
    More actions

    can i take this one? going to repro it on master first. looks like the one-to-one relation leaves the table's column data in a shape the columns grid's add row doesn't expect, since removing the relation makes it work again. will send a PR with the fix once i've pinned it down

    No one will merge your bug fixes, there is a user that send a bug fix and only stupid ai bot cared, and even it could not merge it properly...

  4. dpage commented on Nov 24, 2026

    @dpage
    dpage
    on Nov 24, 2026
    Contributor
    More actions

    Thanks for the report. I can't reproduce this on current `master`, and I believe it's the same bug as #10700, which was fixed in #10735 after 9.19 was released.

    The One-to-One relation adds a foreign key to the table, and in 9.19 adding a column to any table that has a foreign key crashed the dialog's foreign key handling, which is why removing the relation made it work again. I've confirmed that with the 9.19 code the dialog fails exactly as in your screenshot, and that with the fix in place a column can be added normally.

    @diamondsNick, could you try a snapshot build from https://www.postgresql.org/ftp/pgadmin/pgadmin4/snapshots/ and let me know whether you still see it? If you do, please include the steps from a blank ERD (or the tables' DDL) and anything shown in the browser's developer console.

    @Shreyanshsingh23, thanks for offering, but no PR should be needed here unless the snapshot still shows the problem.

  5. dpage
    assigned
    diamondsNick
    on Nov 24, 2026
  6. Shreyanshsingh23 commented on Nov 24, 2026

    @Shreyanshsingh23
    Shreyanshsingh23
    on Nov 24, 2026
    More actions

    makes sense, thanks for tracking it down to #10700. will leave it then

    Reacted by diamondsNick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @diamondsNick
    diamondsNick

Labels

Bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    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.