david blood <davidjblood(at)yahoo(dot)com> writes:
> What do you do if you have a sql statement that is too long?
File a bug report. There shouldn't be any hard limit.
If you are running less-than-current software, upgrade first...
two or three versions back, PG did have statement-length limits.
regards, tom lane