Re: [COMMITTERS] pgsql: Move test_fsync to /contrib. - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [COMMITTERS] pgsql: Move test_fsync to /contrib.
Date
Msg-id 4D3B07FF.3010309@dunslane.net
Whole thread Raw
Responses Re: [COMMITTERS] pgsql: Move test_fsync to /contrib.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: [COMMITTERS] pgsql: Move test_fsync to /contrib.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers


On 01/21/2011 12:48 PM, Bruce Momjian wrote:
> Move test_fsync to /contrib.
>
>

This appears to have broken Solaris, Unixware and MSVC builds.

Here's the error on Solaris:

gmake[1]: Entering directory `/export/home/dpage/pgbuildfarm/moa/HEAD/pgsql.4167/contrib/pg_test_fsync'
cc -Xa -m64 -xarch=native -xdepend -xO3 -xprefetch=auto,explicit -g -I. -I. -I../../src/include   -c -o pg_test_fsync.o
pg_test_fsync.c
cc -Xa -m64 -xarch=native -xdepend -xO3 -xprefetch=auto,explicit -g pg_test_fsync.o  -L../../src/port
-Wl,-R'/export/home/dpage/pgbuildfarm/moa/HEAD/inst/lib' -lpgport -lpam -lgss -lz -lnsl -lsocket -lm  -o pg_test_fsync
 
Undefined            first referenced symbol                  in file
CurrentMemoryContext                pg_test_fsync.o
ld: fatal: Symbol referencing errors. No output written to pg_test_fsync


Why does pg_test_fsync.c include postgres.h? Shouldn't it use postgres_fe.h?


cheers

andrew





pgsql-hackers by date:

Previous
From: Jan Urbański
Date:
Subject: Re: REVIEW: PL/Python table functions
Next
From: Tom Lane
Date:
Subject: Re: REVIEW: EXPLAIN and nfiltered