aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/dbcommands.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-10-16 19:08:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-10-16 19:08:38 +0000
commitf68d05d5eccf951e848f92e166ad4c2d77887eb3 (patch)
treee1df1e8c94f2f3613b9957309c340332dda13b03 /src/backend/commands/dbcommands.c
parentfdd13f156814f81732c188788ab1b7b14c59f4da (diff)
downloadpostgresql-f68d05d5eccf951e848f92e166ad4c2d77887eb3.tar.gz
postgresql-f68d05d5eccf951e848f92e166ad4c2d77887eb3.zip
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.
Diffstat (limited to 'src/backend/commands/dbcommands.c')
0 files changed, 0 insertions, 0 deletions