Thread: --enable-syslog in rh7 ?
hi teg, the build of postgressql 7.0.2 in rh7 was with --enable-syslog ?
"Sergio A. Kessler" <sak@tribctas.gba.gov.ar> 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.
teg@redhat.com (Trond Eivind Glomsrød) el día 30 Oct 2000 11:23:25 -0500, escribió: >"Sergio A. Kessler" <sak@tribctas.gba.gov.ar> 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 hmmm, I'm more confused than before... :) 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 so the question is: if I put syslog = 2 in pg_options, it will work in a rh7 with postgres out of the box ? (sure, i can try, but I'm not in a hurry to use this feature, so if it's not enabled, can you enable it in rh7.1 ?) sergio
"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