fix_identity_check.diff
text/x-diff
Filename: fix_identity_check.diff
Type: text/x-diff
Part: 0
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/repack.c | 2 | 1 |
diff --git a/src/backend/commands/repack.c b/src/backend/commands/repack.c index 67364cc60e3..8cfc3fde5c7 100644 --- a/src/backend/commands/repack.c +++ b/src/backend/commands/repack.c @@ -925,7 +925,8 @@ check_concurrent_repack_requirements(Relation rel, Oid *ident_idx_p) * work and is not implemented yet. */ ident_idx = RelationGetReplicaIndex(rel); - if (!OidIsValid(ident_idx) && OidIsValid(rel->rd_pkindex)) + if (!OidIsValid(ident_idx) && OidIsValid(rel->rd_pkindex) && + !rel->rd_ispkdeferrable) ident_idx = rel->rd_pkindex; if (!OidIsValid(ident_idx)) ereport(ERROR,