Re: PostgreSQL sourcecode

From: aaronenabs <aaronenabs(at)btconnect(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL sourcecode
Date: 2011-03-30 12:24:08
Message-ID: 1301487848939-4271359.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Sorry about that, here is the section before the make.

dllwrap -o cygpq.dll --dllname cygpq.dll --def libpqdll.def fe-auth.o
fe-connec
t.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o
pqexp
buffer.o pqsignal.o fe-secure.o libpq-events.o md5.o ip.o wchar.o encnames.o
nob
lock.o pgstrcasecmp.o thread.o -L../../../src/port
-Wl,--allow-multiple-definit
ion -Wl,--enable-auto-import -L/usr/local/lib -Wl,--as-needed -lcrypt
-lpthr
ead
thread.o:thread.c:(.text+0x5c): undefined reference to `__xpg_strerror_r'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make[3]: *** [cygpq.dll] Error 1
make[3]: Leaving directory
`/postgresql-9.0.3/postgresql-9.0.3/src/interfaces/li
bpq'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/postgresql-9.0.3/postgresql-9.0.3/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/postgresql-9.0.3/postgresql-9.0.3/src'
make: *** [all] Error 2

Can you alos advise how i change the the HeapTupleSatisfiesVisibility() to
true within the source code:
/*
* HeapTupleSatisfiesVisibility
* True iff heap tuple satisfies a time qual.
*
* Notes:
* Assumes heap tuple is valid.
* Beware of multiple evaluations of snapshot argument.
* Hint bits in the HeapTuple's t_infomask may be updated as a side effect;
* if so, the indicated buffer is marked dirty.
*/
#define HeapTupleSatisfiesVisibility(tuple, snapshot, buffer) \
((*(snapshot)->satisfies) ((tuple)->t_data, snapshot, buffer))

--
View this message in context: http://postgresql.1045698.n5.nabble.com/PostgreSQL-sourcecode-tp4270534p4271359.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-03-30 12:52:11 Re: crash-safe visibility map, take four
Previous Message Nicolas Barbier 2011-03-30 11:21:28 Re: PostgreSQL sourcecode