diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-02-20 17:44:20 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-02-20 17:44:20 +0000 |
commit | d64f38d1a15b4731e17f5ea1920fd701f3b0c66f (patch) | |
tree | ea90dea200ff2db8d144881fb7538eed120310ef /src/tutorial/funcs_new.c | |
parent | f8dc95540e6a9b5c8071c3df782998d3ca421946 (diff) | |
download | postgresql-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/funcs_new.c')
0 files changed, 0 insertions, 0 deletions