Skip to content

Commit 81fccc8

Browse files
committed
Added support to rename columns in Views. #6380
1 parent 93d25ee commit 81fccc8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/en_US/release_notes_8_3.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Bundled PostgreSQL Utilities
2020
New features
2121
************
2222

23+
| `Issue #6380 <https://github.com/pgadmin-org/pgadmin4/issues/6380>`_ - Added support to rename columns in Views.
2324
| `Issue #6392 <https://github.com/pgadmin-org/pgadmin4/issues/6392>`_ - Added BYPASSRLS|NOBYPASSRLS option while creating a Role.
2425
| `Issue #6792 <https://github.com/pgadmin-org/pgadmin4/issues/6792>`_ - Added configurable parameter to enable support for PasswordExecCommand in server mode.
2526

web/pgadmin/browser/server_groups/servers/databases/schemas/tables/columns/static/js/column.ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default class ColumnSchema extends BaseUISchema {
7777

7878
inSchemaWithColumnCheck(state) {
7979
// disable all fields if column is listed under view or mview
80-
if (this.nodeInfo && ('view' in this.nodeInfo || 'mview' in this.nodeInfo)) {
80+
if (this.nodeInfo && (('view' in this.nodeInfo && this.nodeInfo?.server?.version < 130000) || 'mview' in this.nodeInfo)) {
8181
return true;
8282
}
8383

0 commit comments

Comments
 (0)