跳至內容
選單
此問題已被標幟
2 回覆
3666 瀏覽次數

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.

頭像
捨棄