[GENERAL] "Number of columns exceed limit" on a hierarchy of views

2009-08-21 Thread David Waller
Hello all, I'm struggling with a database query that under some circumstances returns the error "ERROR: number of columns (2053) exceeds limit (1664)". Confusingly, though, no table is that wide. The problem seems to be my use of views. The largest table in the database is 500 columns wide.

[GENERAL] "Number of columns exceed limit" on a hierarchy of views

2009-08-21 Thread David Waller
Hello all, I'm struggling with a database query that under some circumstances returns the error "ERROR: number of columns (2053) exceeds limit (1664)". Confusingly, though, no table is that wide. The problem seems to be my use of views. The largest table in the database is 500 columns wide.