Thread: pg_filedump patch for 9.5

pg_filedump patch for 9.5

From
Satoshi Nagayasu
Date:
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>

Attachment

Re: pg_filedump patch for 9.5

From
Pavel Raiskup
Date:
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




Re: pg_filedump patch for 9.5

From
Christoph Berg
Date:
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_filedump
>      
>      pg_filedump: pg_filedump.o
>     -       ${CC} ${CFLAGS} -o pg_filedump pg_filedump.o
>     +       ${CC} ${CFLAGS} -o pg_filedump pg_filedump.o -lpgport
> 
> Pavel

Hi,

thanks for the patches, I've pushed them to the git repo.

http://git.postgresql.org/gitweb/?p=pg_filedump.git

Christoph



pg_filedump 9.5.0

From
Christoph Berg
Date:
Re: To Pavel Raiskup 2016-03-19 <20160319170614.GB8052@msg.df7cb.de>
> thanks for the patches, I've pushed them to the git repo.
>
> http://git.postgresql.org/gitweb/?p=pg_filedump.git

We don't have any place to put releases, so I'm posting the tar ball
here...

Christoph

Attachment