GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Editing a row with expression/alias columns in Query Tool fails to save with "column does not exist" error · Issue #10103 · pgadmin-org/pgadmin4 Closed Labels DescriptionDescribe the bugIf your query includes a calculated or aliased column — for example first_name || ' ' || last_name AS the_name — and you edit any cell on an existing row and hit Save, pgAdmin throws an error. It tries to update the alias column (the_name) on the table, which doesn't actually exist as a real column. The column header shows a lock icon, so pgAdmin already knows it's not editable — but it still includes it when building the UPDATE. To ReproduceOpen the Query Tool on any database where you can create tables. DROP TABLE IF EXISTS some_table; SELECT id, first_name, last_name, Expected behaviorThe save should succeed. Only real table columns (id, first_name, last_name) should be updated. The alias column the_name should be ignored completely. Error messageERROR: column "the_name" of relation "some_table" does not exist Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue 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. |