[COMMITTERS] pgsql: In multi-insert, don't go into infinite loop on a huge tuple and

2012-12-12 Thread Heikki Linnakangas
In multi-insert, don't go into infinite loop on a huge tuple and fillfactor. If a tuple is larger than page size minus space reserved for fillfactor, heap_multi_insert would never find a page that it fits in and repeatedly ask for a new page from RelationGetBufferForTuple. If a tuple is too large

[COMMITTERS] pgsql: In multi-insert, don't go into infinite loop on a huge tuple and

2012-12-12 Thread Heikki Linnakangas
In multi-insert, don't go into infinite loop on a huge tuple and fillfactor. If a tuple is larger than page size minus space reserved for fillfactor, heap_multi_insert would never find a page that it fits in and repeatedly ask for a new page from RelationGetBufferForTuple. If a tuple is too large