Re: Slim down integer formatting - Mailing list pgsql-hackers

From Greg Nancarrow
Subject Re: Slim down integer formatting
Date
Msg-id CAJcOf-c0j+xtQqgXvGxviyFUwSbZ0epZMqCQ34X_UGfvrhmqQg@mail.gmail.com
Whole thread Raw
In response to Re: Slim down integer formatting  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Slim down integer formatting  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
On Tue, Jul 27, 2021 at 12:42 PM Michael Paquier <michael@paquier.xyz> wrote:
>
>  #include "common/int.h"
> +#include "d2s_intrinsics.h"
> Er, are you sure about this part?  The first version of the patch did
> that in a different, also incorrect, way.

Er, I was just trying to help out, so at least the patch could be
applied (whether the patch has merit is a different story).
Are you saying that it's incorrect to include that header file in this
source, or that's the wrong way to do it? (i.e. it's wrong to adjust
the makefile include path to pickup the location where that header is
located and use #include "<header>"? That header is in src/common,
which is not on the default include path).
The method I used certainly works, but you have objections?
Can you clarify what you say is incorrect?

Regards,
Greg Nancarrow
Fujitsu Australia



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Slim down integer formatting
Next
From: "Bossart, Nathan"
Date:
Subject: Re: log_checkpoint's "WAL file(s) added" is misleading to the point of uselessness