Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
3686 Представления

How many number of columns are supported in a module. I get too many values to unpack in module which was working perfectly before I added more columns

Аватар
Отменить
Лучший ответ

I guess problem might be in fields.selection. So just check it.

Аватар
Отменить
Лучший ответ

Can you post the exact error message, with the last part of the stacktrace?

According to the documentation of PostgreSQL (http://www.postgresql.org/about/):

Maximum Columns per Table 250 - 1600 depending on column types

So if you are below 250, you should not have any issues.

More likely you pass in more than the method is expecting, or you pass a list instead of a single int (for the ID for example). But without trace it is hard to tell.

Аватар
Отменить