Re: [GENERAL] --enable-syslog in rh7 ?

2000-10-31 Thread Lamar Owen

"Sergio A. Kessler" wrote:
 i was reading in the docs that that for syslog
 (ie. syslog = 2 in pg_options) to effectively work, you need to build
 postgres with --enable-syslog

PostgreSQL 7.0.2 has no --enable-syslog switch.  7.1 (and, apparently
7.0.3) will have such a configure switch (it exists both in CURRENT and
REL7_0_PATCHES in CVS).
 
 so the question is: if I put syslog = 2 in pg_options, it will work
 in a rh7 with postgres out of the box ?

Yes, it should.  The patch was necessary for 7.0.2, but not for later
than that.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11



[GENERAL] --enable-syslog in rh7 ?

2000-10-30 Thread Sergio A. Kessler

hi teg,

the build of postgressql 7.0.2 in rh7 was with --enable-syslog ?




Re: [GENERAL] --enable-syslog in rh7 ?

2000-10-30 Thread Trond Eivind Glomsrød

"Sergio A. Kessler" [EMAIL PROTECTED] writes:

 hi teg,
 
 the build of postgressql 7.0.2 in rh7 was with --enable-syslog ?

No, but this is part of a configuration patch:

  * USE_SYSLOG: use syslog for elog and error messages printed by tprintf
@@ -169,7 +169,7 @@
  * (syslog=0 for stdio, syslog=1 for stdio+syslog, syslog=2 for syslog).
  * For information see backend/utils/misc/trace.c (Massimo Dal Zotto).
  */
-/* #define USE_SYSLOG */
+#define USE_SYSLOG

-- 
Trond Eivind Glomsrød
Red Hat, Inc.