pg_filedump patch for 9.5
Hi,
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.
Regards,
--
NAGAYASU Satoshi <snaga@uptime.jp>
Attachments:
pg_filedump-9.5.difftext/plain; charset=UTF-8; name=pg_filedump-9.5.diffDownload+21-12
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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Re: Pavel Raiskup 2016-02-26 <8883822.6jZMTTXa3b@nb.usersys.redhat.com>
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_filedumppg_filedump: pg_filedump.o - ${CC} ${CFLAGS} -o pg_filedump pg_filedump.o + ${CC} ${CFLAGS} -o pg_filedump pg_filedump.o -lpgportPavel
Hi,
thanks for the patches, I've pushed them to the git repo.
http://git.postgresql.org/gitweb/?p=pg_filedump.git
Christoph
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers