diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-02-20 17:44:14 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-02-20 17:44:14 +0000 |
commit | 636fa3b4a7684fdef1a9f9b0d22030200cf62f7a (patch) | |
tree | acc732502993c58f822f533715f28e89bf2c7fef /src/tutorial/basics.source | |
parent | f134132abc94e1a300a5aa53d29dea8a9be009fa (diff) | |
download | postgresql-636fa3b4a7684fdef1a9f9b0d22030200cf62f7a.tar.gz postgresql-636fa3b4a7684fdef1a9f9b0d22030200cf62f7a.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/basics.source')
0 files changed, 0 insertions, 0 deletions