Re: [PATCH] pg_filedump is broken - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: [PATCH] pg_filedump is broken
Date
Msg-id 20161014093201.zwu2nu4bl6nqpnie@msg.df7cb.de
Whole thread Raw
In response to [PATCH] pg_filedump is broken  (Aleksander Alekseev <a.alekseev@postgrespro.ru>)
Responses Re: [PATCH] pg_filedump is broken  (Christoph Berg <cb@df7cb.de>)
List pgsql-hackers
Re: Aleksander Alekseev 2016-10-12 <20161012111527.GA17916@e733.localdomain>
> Hello.
> 
> First patch fixes:
> 
> ```
> pg_filedump.c: In function ‘FormatItem’:
> pg_filedump.c:994:18: error: ‘SizeOfIptrData’ undeclared (first use in
>                       this function)
>    if (numBytes < SizeOfIptrData)
> ```
> 
> After 8023b582 there is no more SizeOfIptrData macro.

Thanks, pushed to filedump git.

> Second patch fixes Makefile. On some systems (notably FreeBSD) there is
> no `gcc` by default. Using `cc` is a more crossplatform way to compile a
> project.

I think we just shouldn't set CC at all. Pushed along with some more
usage of pg_config.

Christoph



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: PL/Python adding support for multi-dimensional arrays
Next
From: Christoph Berg
Date:
Subject: Re: [PATCH] pg_filedump is broken