pgAdmin 4 commit: Type fixes:

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Type fixes:
Date: 2016-04-14 14:46:29
Message-ID: E1aqiXN-0001ce-OY@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)zabuawala(at)enterprisedb(dot)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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-04-14 14:46:40 Re: PATCH: Added Node Type & Catalog objects [pgAdmin4]
Previous Message Dave Page 2016-04-14 14:43:04 Re: Styling error panel on dialogues