6.4.2/AIX: syslog support seems alright ?

From: Thierry Holtzer <Thierry(dot)Holtzer(at)ceram(dot)fr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: 6.4.2/AIX: syslog support seems alright ?
Date: 1999-06-02 09:49:58
Message-ID: 3754FE46.4CD24CD5@ceram.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello there,

Trying to enable syslog support with 6.4.2 on AIX4.[12] (gcc 2.8.1), I
have added:
* in Makefile.custom:
CFLAGS+=-DUSE_SYSLOG -D_XOPEN_EXTENDED_SOURCE
(the -D_XOPEN_EXTENDED_SOURCE is for AIX's <syslog.h>
* and in trace.c:
*** trace.c.distrib Wed Jun 2 11:45:34 1999
--- trace.c Wed Jun 2 10:01:18 1999
***************
*** 21,26 ****
--- 21,27 ----

#ifdef USE_SYSLOG
#include <syslog.h>
+ int openlog_done = 0;
#endif

#include "postgres.h"

Seems to work fine.
Could the -D_XOPEN_EXTENDED_SOURCE be a problem somehow ?

TIA
--

Thierry Holtzer

E-mail : Thierry(dot)Holtzer(at)ceram(dot)fr
----------------------------------------------------------
Dptmt Informatique d'Entreprise
CERAM Tel : +33 4 9395 4545
Rue Dostoievski - BP 085 Fax : +33 4 9365 4524
06 902 Sophia-Antipolis Cedex - France

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 1999-06-02 09:57:03 Re: [HACKERS] Open 6.5 items
Previous Message Keith Parks 1999-06-02 09:33:00 Rules puzzle with "current" keyword.