Re: Prevent duplicate attributes

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Prevent duplicate attributes
Дата
Msg-id CA+OCxozVEFrgkNU8iXw_tzm_L3nCYjd+jjU9XQd4JwPa_raboA@mail.gmail.com
обсуждение исходный текст
Ответ на Prevent duplicate attributes  (Thom Brown <thom@linux.com>)
Ответы Re: Prevent duplicate attributes
Список pgadmin-hackers
On Sat, Jul 9, 2011 at 9:02 PM, Thom Brown <thom@linux.com> wrote:
> Hi (yes, me... again),
>
> Tiny patch attached to prevent adding attributes with a duplicate name
> to a type.  It seems previous versions prevented this, but must have
> been allowed in a commit since the last release.

For consistency with the other checks on the dialogue, this should
cause the "Add" button to be disabled, not make it silently fail. That
should almost certainly be done in dlgType::CheckChange().


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: Graphical Explain Tooltip
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Prevent duplicate attributes