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 — Column properties can report an arbitrary parent for columns merged from several parents · Issue #10554 · pgadmin-org/pgadmin4

Column properties can report an arbitrary parent for columns merged from several parents #10554

New issue
Copy link
New issue
Copy link
Closed
Closed
Column properties can report an arbitrary parent for columns merged from several parents#10554
Copy link
Labels
Bug

Description

@dpage
dpage
opened on Oct 13, 2026
Issue body actions

In tables/templates/columns/sql/default/properties.sql, the main query uses SELECT DISTINCT ON (att.attnum) ... LEFT OUTER JOIN INH_TABLES AS inh ON att.attname = inh.name ... ORDER BY att.attnum. When a column is merged from more than one parent table, the join returns one row per parent and DISTINCT ON keeps an arbitrary one, so inheritedfrom / inheritedid can name a different parent from one run to the next.

The CTE already selects ph.inhseqno; adding inh.inhseqno to the outer ORDER BY (after att.attnum) would make it always report the first parent in inheritance order. Found whilst reviewing #10535.

Activity

  1. dpage
    added
    Bug
    on Oct 13, 2026
  2. dpage
    added a commit that references this issue on Oct 13, 2026

    Fix column properties reporting an arbitrary parent for columns merge…

    fd4b477
  3. dpage commented on Oct 13, 2026

    @dpage
    dpage
    on Oct 13, 2026
    ContributorAuthor
    More actions

    Fixed in fd4b477.

  4. dpage
    closed this as completedon Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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.