Re: [BUGS] strange array insertion

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] strange array insertion
Дата
Msg-id 25733.973184898@sss.pgh.pa.us
обсуждение исходный текст
Ответ на strange array insertion  ("Bernie Huang" <bernieyth@hotmail.com>)
Список pgsql-general
"Bernie Huang" <bernieyth@hotmail.com> writes:
> Strange enough, it seems like the 2-d text array size depends on the last
> element size.

Looks like a bug to me too ... probably silliness in the array_in
routine that determines dimensions of an unspecified-dimensions input.
Want to look at it?

> Btw, I was informed that
> rollback is not possible if array is involved (it auto-commits before you
> issue "commit" or "rollback" comands).
> eg; "begin;", "update tb1 set arr[1]='something';", "rollback;"

Array update had this strange idea that it's OK to scribble on the
source tuple :-(.  This is fixed for 7.1.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: server protocol used by Postgres
Следующее
От: "Dave Cramer"
Дата:
Сообщение: Supply Chain Management System