copy-warning-fix.patch
text/x-patch
Filename: copy-warning-fix.patch
Type: text/x-patch
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/copy.c | 1 | 1 |
diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index 31a0288..00f859e 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -750,7 +750,7 @@ DoCopy(const CopyStmt *stmt, const char *queryString, uint64 *processed) bool is_from = stmt->is_from; bool pipe = (stmt->filename == NULL); Relation rel; - Oid relid; + Oid relid = InvalidOid; /* Disallow file COPY except to superusers. */ if (!pipe && !superuser())