This question has been flagged
2 Replies
3159 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

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.

Avatar
Discard