Re: Ticket 269: Add support for 9.1 ALTER TYPE new syntax for enum

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Ticket 269: Add support for 9.1 ALTER TYPE new syntax for enum
Дата
Msg-id 4CCBA573.9080906@lelarge.info
обсуждение исходный текст
Ответ на Ticket 269: Add support for 9.1 ALTER TYPE new syntax for enum  (Guillaume Lelarge <guillaume@lelarge.info>)
Ответы Re: Ticket 269: Add support for 9.1 ALTER TYPE new syntax for enum
Список pgadmin-hackers
Le 29/10/2010 21:11, Guillaume Lelarge a écrit :
> [...]
> This patch adds support to the new ALTER TYPE syntax in 9.1 for enums.
>
> It's working great except one thing. If a user wants to add two labels,
> we're screwed because we can't do two "ALTER TYPE ... ADD" statements in
> the same query execution. Any idea how to solve this? the only way I
> found would be to disallow adding two labels at once but it results on a
> less interesting feature.
>

So I was wrong. The issue is that we can't issue this statement in a
explicit transaction. Any idea how to solve the "don't send begin/end
statements"?


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Restore database form button
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Restore database form button