Re: ERROR: attribute number 6 exceeds number of columns 5
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: ERROR: attribute number 6 exceeds number of columns 5 |
| Дата | |
| Msg-id | 6352.1574783351@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | ERROR: attribute number 6 exceeds number of columns 5 (Andreas Joseph Krogh <andreas@visena.com>) |
| Ответы |
Re: ERROR: attribute number 6 exceeds number of columns 5
|
| Список | pgsql-hackers |
Andreas Joseph Krogh <andreas@visena.com> writes:
> Run the attached script and you'll get:
> psql -f error.sql -d test
> psql:error.sql:37: ERROR: attribute number 6 exceeds number of columns 5
Hmm, interesting. IMO, that *should* have thrown an error, but of
course not that one. The ADD COLUMN operations are all processed
in parallel, so it's not okay for one of them to have a GENERATED
expression that refers to another one of the new columns. But you
should have gotten a "no such column" type of error, not a run-time
cross-check failure.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера