Re: logical changeset generation v6.5 - Mailing list pgsql-hackers

From Andres Freund
Subject Re: logical changeset generation v6.5
Date
Msg-id 20131109105608.GL28314@alap2.anarazel.de
Whole thread Raw
In response to Re: logical changeset generation v6.5  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: logical changeset generation v6.5  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
On 2013-11-08 17:11:58 -0500, Peter Eisentraut wrote:
> On 11/8/13, 3:03 PM, Robert Haas wrote:
> > On Fri, Nov 8, 2013 at 12:38 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> >> On Tue, Nov 5, 2013 at 10:21 AM, Andres Freund <andres@2ndquadrant.com> wrote:
> >>> Attached to this mail and in the xlog-decoding-rebasing-remapping branch
> >>> in my git[1] repository you can find the next version of the patchset that:
> >>
> >> I have pushed patches #1 and #2 from this series as a single commit,
> >> after some editing.
> >
> > And I've also pushed patch #13, which is an almost-totally-unrelated
> > improvement that has nothing to do with logical replication, but is
> > useful all the same.
>
> Please fix this new compiler warning:
>
> pg_regress_ecpg.c: In function ‘main’:
> pg_regress_ecpg.c:170:2: warning: passing argument 3 of ‘regression_main’ from incompatible pointer type [enabled by
default]
> In file included from pg_regress_ecpg.c:19:0:
> ../../../../src/test/regress/pg_regress.h:55:5: note: expected ‘init_function’ but argument is of type ‘void
(*)(void)’

Hrmpf...

I usually run something akin to
# make -j3 -s && (cd contrib && make -j3 -s)
and then in a separate step
# make -s check-world
this is so I see compiler warnings before drowning them in check-world's
output. But ecpg/test isn't built during make in src/interfaces/ecpg,
but just during make check there.

ISTM ecpg's regression tests should be built (not run!) during
$(recurse) not just during make check. Patch towards that end attached.

Also attached is the fix for the compilation warning itself.

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: lucamarletta
Date:
Subject: Postgresql c function returning one row with 2 fileds
Next
From: Craig Ringer
Date:
Subject: Re: Row-security writer-side checks proposal