Chris Browne <[EMAIL PROTECTED]> writes:
> Tom Lane wrote:
>>> animal: grebe               warnings: 45
>>> xlog.c:651: warning: implicit declaration of function '_check_lock'
>>> xlog.c:654: warning: implicit declaration of function '_clear_lock'
>>> hba.c:1449: warning: implicit declaration of function 'getpeereid'

>> Someone needs to find out which system headers declare these functions
>> on AIX.

> Hmm.  Logging onto grebe:

> /usr/include/sys/socket.h:int     getpeereid(int, uid_t *__restrict__, gid_t 
> *__restrict__);

That's pretty strange, because hba.c definitely includes <sys/socket.h>.
Perhaps getpeereid is hidden within some #ifdef that we aren't setting?

> /usr/include/sys/atomic_op.h:boolean_t _check_lock();
> /usr/include/sys/atomic_op.h:void _clear_lock();

OK, I'll try putting <sys/atomic_op.h> into the AIX part of s_lock.h.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to