pgAdmin 4 commit: Type fixes: - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin 4 commit: Type fixes:
Date
Msg-id E1aqiXN-0001ce-OY@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Type fixes:

- Renaming or changing the schema for a shell type should not be allowed.

- I'm allowed to try to add ACL entries or security labels to an
existing shell type. This should be disallowed.

- Changing the schema on a (non-shell) type doesn't work - the type
name is omitted, e.g.

ALTER TYPE pem
    SET SCHEMA pemhistory;

Which should be:

ALTER TYPE pem.foo
    SET SCHEMA pemhistory;

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=49e433db4fddafb22d3e5aea207b7f5cba8e2fae
Author: Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>

Modified Files
--------------
.../schemas/types/templates/type/js/type.js        | 34 +++++++++++-----------
.../types/templates/type/sql/9.1_plus/create.sql   |  4 +--
.../types/templates/type/sql/9.1_plus/update.sql   |  6 ++--
3 files changed, 22 insertions(+), 22 deletions(-)


pgadmin-hackers by date:

Previous
From: Sanket Mehta
Date:
Subject: PATCH: FTS Dictionary
Next
From: Dave Page
Date:
Subject: Re: PATCH: Added Node Type & Catalog objects [pgAdmin4]