From: | Pavel Raiskup <praiskup(at)redhat(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Cc: | Satoshi Nagayasu <snaga(at)uptime(dot)jp> |
Subject: | Re: pg_filedump patch for 9.5 |
Date: | 2016-02-26 09:40:52 |
Message-ID: | 8883822.6jZMTTXa3b@nb.usersys.redhat.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Saturday 08 of August 2015 20:38:38 Satoshi Nagayasu wrote:
> I have created a patch for pg_filedump to work with 9.5.
> Here is a list of changes.
>
> * Fix to rename CRC32 macros to work with 9.5.
> * Fix to add missing DBState: DB_SHUTDOWNED_IN_RECOVERY.
> * Fix to add missing page flags for Btree and GIN.
> * Update copyright date.
>
> Please take a look. Any comments are welcome.
Thanks for the patch; it helps with building against 9.5.
Hints I can give ATM:
* copyright is outdated now
* to allow the build with 'make
PGSQL_INCLUDE_DIR=/usr/include/pgsql/server' the following patch is
needed:
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ DISTFILES= README.pg_filedump Makefile Makefile.contrib \
all: pg_filedump
pg_filedump: pg_filedump.o
- ${CC} ${CFLAGS} -o pg_filedump pg_filedump.o
+ ${CC} ${CFLAGS} -o pg_filedump pg_filedump.o -lpgport
Pavel
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-02-26 10:46:58 | Re: postgres_fdw vs. force_parallel_mode on ppc |
Previous Message | Robert Haas | 2016-02-26 09:25:41 | Re: POC: Cache data in GetSnapshotData() |