0002-Remove-empty-pfree-definition-from-pg_xlogdump-compa.patch
text/x-patch
Filename: 0002-Remove-empty-pfree-definition-from-pg_xlogdump-compa.patch
Type: text/x-patch
Part: 1
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
Series: patch 0002
| File | + | − |
|---|---|---|
| src/bin/pg_xlogdump/compat.c | 2 | 8 |
>From 9be062aa078ba02106fe4bd3f5429ca650332a36 Mon Sep 17 00:00:00 2001
From: Andres Freund <andres@anarazel.de>
Date: Tue, 11 Dec 2012 16:38:54 +0100
Subject: [PATCH 2/2] Remove empty pfree() definition from
pg_xlogdump/compat.c now its not needed anymore
---
src/bin/pg_xlogdump/compat.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/bin/pg_xlogdump/compat.c b/src/bin/pg_xlogdump/compat.c
index dd36e55..b9c242d 100644
--- a/src/bin/pg_xlogdump/compat.c
+++ b/src/bin/pg_xlogdump/compat.c
@@ -43,22 +43,16 @@ tliInHistory(TimeLineID tli, List *expectedTLEs)
return false;
}
-void
-pfree(void *a)
-{
-}
-
-
const char *
timestamptz_to_str(TimestampTz t)
{
return "";
}
-char *
+const char *
relpathbackend(RelFileNode rnode, BackendId backend, ForkNumber forknum)
{
- return NULL;
+ return "";
}
/*
--
1.7.10.4