Added support to rename columns in Views. #6380

This commit is contained in:
Akshay Joshi
2024-01-22 12:27:01 +05:30
parent 93d25eea0b
commit 81fccc87b5
2 changed files with 2 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ Bundled PostgreSQL Utilities
New features
************
| `Issue #6380 <https://github.com/pgadmin-org/pgadmin4/issues/6380>`_ - Added support to rename columns in Views.
| `Issue #6392 <https://github.com/pgadmin-org/pgadmin4/issues/6392>`_ - Added BYPASSRLS|NOBYPASSRLS option while creating a Role.
| `Issue #6792 <https://github.com/pgadmin-org/pgadmin4/issues/6792>`_ - Added configurable parameter to enable support for PasswordExecCommand in server mode.

View File

@@ -77,7 +77,7 @@ export default class ColumnSchema extends BaseUISchema {
inSchemaWithColumnCheck(state) {
// disable all fields if column is listed under view or mview
if (this.nodeInfo && ('view' in this.nodeInfo || 'mview' in this.nodeInfo)) {
if (this.nodeInfo && (('view' in this.nodeInfo && this.nodeInfo?.server?.version < 130000) || 'mview' in this.nodeInfo)) {
return true;
}