Re: pg_filedump patch for 9.5 - Mailing list pgsql-hackers

From Pavel Raiskup
Subject Re: pg_filedump patch for 9.5
Date
Msg-id 8883822.6jZMTTXa3b@nb.usersys.redhat.com
Whole thread Raw
In response to pg_filedump patch for 9.5  (Satoshi Nagayasu <snaga@uptime.jp>)
Responses Re: pg_filedump patch for 9.5
List 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
followingpatch 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




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: POC: Cache data in GetSnapshotData()
Next
From: Robert Haas
Date:
Subject: Re: postgres_fdw vs. force_parallel_mode on ppc