| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера