aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-02-20 17:44:20 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-02-20 17:44:20 +0000
commitd64f38d1a15b4731e17f5ea1920fd701f3b0c66f (patch)
treeea90dea200ff2db8d144881fb7538eed120310ef /src/tutorial
parentf8dc95540e6a9b5c8071c3df782998d3ca421946 (diff)
downloadpostgresql-d64f38d1a15b4731e17f5ea1920fd701f3b0c66f.tar.gz
postgresql-d64f38d1a15b4731e17f5ea1920fd701f3b0c66f.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/tutorial')
0 files changed, 0 insertions, 0 deletions