Re: puzzled by the docs

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: Hernan Gonzalez <hgonzal(at)sinectis(dot)com(dot)ar>
Cc: pgsql-general(at)postgresql(dot)org, olly(at)linda(dot)lfix(dot)co(dot)uk
Subject: Re: puzzled by the docs
Date: 2000-06-27 18:49:22
Message-ID: 200006271849.e5RInMe12078@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hernan Gonzalez wrote:

>Anyway, the 7.0.2 docs state (in the "pg_options" section)
>that :
>
>> Message printed to stdout or stderr are prefixed by a timestamp containi
>ng also the backend pid
>>
>> #timestamp #pid #message
>> 980127.17:52:14.173 [29271] StartTransactionCommand
>> 980127.17:52:14.174 [29271] ProcessUtility: dro
...
>It is very true that this format is useful, but that's not what I get.
>My 7.0.2 postmaster is started with stdout & stderr redirected to a file,
>and I get no timestamps no pids.
>
>My .../data/pg_options file contains two lines:
>
> verbose=1
> query
>
>Am I doing something wrong ?

It is a compilation option:

--- postgresql-7.0.2.orig/src/include/config.h.in
+++ postgresql-7.0.2/src/include/config.h.in
@@ -161,7 +161,8 @@
* ELOG_TIMESTAMPS: adds a timestamp with the following format to elog
* messages: yymmdd.hh:mm:ss.mmm [pid] message
*/
-/* #define ELOG_TIMESTAMPS */
+/* Turned on for Debian */
+#define ELOG_TIMESTAMPS

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"For I am not ashamed of the gospel of Christ; for it
is the power of God unto salvation to every one that
believeth; to the Jew first, and also to the Greek."
Romans 1:16

In response to

Browse pgsql-general by date

  From Date Subject
Next Message James L. Hall 2000-06-27 19:39:39 Perl script for pg_dumpall?
Previous Message Hernan Gonzalez 2000-06-27 18:21:19 Re: Linux/Postgre question.