Re: resizing a varchar column on 8.3.8

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: resizing a varchar column on 8.3.8
Дата
Msg-id AANLkTinC3MVefJPrHWiE4A2=sjc8kdUjmb1vN7+CUJQS@mail.gmail.com
обсуждение исходный текст
Ответ на resizing a varchar column on 8.3.8  (Jon Hoffman <jon@foursquare.com>)
Список pgsql-general
On Thu, Jan 27, 2011 at 1:57 PM, Jon Hoffman <jon@foursquare.com> wrote:
> This was originally discussed on this list
> here: http://postgresql.1045698.n5.nabble.com/Smartest-way-to-resize-a-column-td1915892.html
> Tom Lane suggested doing the resize in a BEGIN block at least to verify that
> "\d tablename" reflects the catalog update.
> - Jon

Good point.  Best practices are to do all DDL in a transaction if
possible.  But a lot of folks come from databases that do stupid and
unpredictable things when you try to do DDL in a transaction (ok,
that's basically damned near all of them except a couple of odd
rarities like informix)

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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Adding ddl audit trigger
Следующее
От: Lawrence Cohan
Дата:
Сообщение: Re: Adding ddl audit trigger