0003-Fix-compilation-error-20240805.patch
application/octet-stream
Filename: 0003-Fix-compilation-error-20240805.patch
Type: application/octet-stream
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: format-patch
Series: patch 0003
Subject: Fix compilation error
| File | + | − |
|---|---|---|
| src/bin/pg_dump/pg_dump.c | 1 | 1 |
From 56aa9678b405f47d579736ee46cfba866a4638a7 Mon Sep 17 00:00:00 2001
From: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Date: Mon, 8 Jul 2024 18:45:50 +0530
Subject: [PATCH 4/7] Fix compilation error
After 6e1c4a03a978ed3574124d8f2be22ba2e5a4b1e9
binary_upgrade_set_pg_class_oid() doesn't need the last argument. Fix the call.
---
src/bin/pg_dump/pg_dump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index 029b5ddc06..9adc8cbe56 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -15784,7 +15784,7 @@ dumpTableSchema(Archive *fout, const TableInfo *tbinfo)
if (dopt->binary_upgrade)
binary_upgrade_set_pg_class_oids(fout, q,
- tbinfo->dobj.catId.oid, false);
+ tbinfo->dobj.catId.oid);
appendPQExpBuffer(query,
"SELECT pg_catalog.pg_get_propgraphdef('%u'::pg_catalog.oid) AS pgdef",
--
2.34.1