Limit NBuffers and some related values to INT_MAX / BLCKSZ, to prevent
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Oct 2004 19:08:38 +0000 (19:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Oct 2004 19:08:38 +0000 (19:08 +0000)
commitf68d05d5eccf951e848f92e166ad4c2d77887eb3
treee1df1e8c94f2f3613b9957309c340332dda13b03
parentfdd13f156814f81732c188788ab1b7b14c59f4da
Limit NBuffers and some related values to INT_MAX / BLCKSZ, to prevent
arithmetic overflow during initial sizing calculations.  This is not
water-tight but it should avoid the grossest sorts of failures.
src/backend/utils/misc/guc.c