pgAdmin III commit: Add support for 9.1 ALTER TYPE new syntax for enum

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема pgAdmin III commit: Add support for 9.1 ALTER TYPE new syntax for enum
Дата
Msg-id 201011031756.oA3HuGSv055711@gothos.postgresql.org
обсуждение исходный текст
Список pgadmin-hackers
Add support for 9.1 ALTER TYPE new syntax for enum

I changed the Add button with two buttons (Add Before and Add After). The rest
of the patch is used to allow the addition of a new label to an existing enum
type if we are connected to an 9.1+ release.

I also had to split the queries so that a user can enter more than 1 element
at a time, because PostgreSQL doesn't accept more than one ALTER TYPE query
that adds another element to an enum user type in the same statement. But the
method to "split the statements" fires only with enum types.

Implements #269.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=8dc53145d50ed2f65a112700c1390db79120f6d7

Modified Files
--------------
CHANGELOG                         |    1 +
pgadmin/dlg/dlgProperty.cpp       |  144 ++++--
pgadmin/dlg/dlgType.cpp           |   81 +++-
pgadmin/include/dlg/dlgProperty.h |    4 +
pgadmin/include/dlg/dlgType.h     |    6 +-
pgadmin/schema/pgType.cpp         |   13 +-
pgadmin/ui/dlgType.xrc            |   13 +-
pgadmin/ui/xrcDialogs.cpp         |  880 +++++++++++++++++++------------------
8 files changed, 644 insertions(+), 498 deletions(-)


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: 4 spaces versus tabs
Следующее
От: "pgAdmin Trac"
Дата:
Сообщение: Re: [pgAdmin III] #269: Add the support for new values in enum user types