nocfbot_comment_cluster_rel.diff
text/x-diff
Filename: nocfbot_comment_cluster_rel.diff
Type: text/x-diff
Part: 1
Message:
Re: Adding REPACK [concurrently]
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| src/backend/commands/cluster.c | 2 | 5 |
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c index d5b1dfbff69..a9788ac6209 100644 --- a/src/backend/commands/cluster.c +++ b/src/backend/commands/cluster.c @@ -582,11 +582,8 @@ RepackLockLevel(bool concurrent) * If indexOid is InvalidOid, the table will be rewritten in physical order * instead of index order. * - * Note that, in the concurrent case, the function releases the lock at some - * point, in order to get AccessExclusiveLock for the final steps (i.e. to - * swap the relation files). To make things simpler, the caller should expect - * OldHeap to be closed on return, regardless CLUOPT_CONCURRENT. (The - * AccessExclusiveLock is kept till the end of the transaction.) + * On return, OldHeap is closed but locked with AccessExclusiveLock - the lock + * will be released at end of the transaction. * * 'cmd' indicates which command is being executed, to be used for error * messages.