aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/netbsd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-02-20 17:44:26 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-02-20 17:44:26 +0000
commit63df2c788a25076b645176727d7a4a02061881f4 (patch)
treed508db21d14bf59b5466e850dc47e2b607dd9c82 /src/backend/port/dynloader/netbsd.c
parente2429619b1093b536f4b8324b7fdc54382f04ba3 (diff)
downloadpostgresql-63df2c788a25076b645176727d7a4a02061881f4.tar.gz
postgresql-63df2c788a25076b645176727d7a4a02061881f4.zip
Put a CHECK_FOR_INTERRUPTS call into the loops that try to find a unique new
OID or new relfilenode. If the existing OIDs are sufficiently densely populated, this could take a long time (perhaps even be an infinite loop), so it seems wise to allow the system to respond to a cancel interrupt here. Per a gripe from Jacky Leng. Backpatch as far as 8.1. Older versions just fail on OID collision, instead of looping.
Diffstat (limited to 'src/backend/port/dynloader/netbsd.c')
0 files changed, 0 insertions, 0 deletions