Re: log_line_prefix='%t %u %d %h %p %i %l %x ' causes error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrus" <kobruleht2(at)hot(dot)ee>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: log_line_prefix='%t %u %d %h %p %i %l %x ' causes error
Date: 2007-12-02 23:02:47
Message-ID: 25895.1196636567@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Andrus" <kobruleht2(at)hot(dot)ee> writes:
> I use the config file below. I have added only some lines to the end of
> file, all other contents is from windows installer created conf file.
> If I remove # sign in front of last line (line 482), and reload
> configuration, I got syntax error
> in log file.
> Is this Postgres bug ?

I still can't duplicate that --- the only way I can get that error is
to leave out the first ' mark.

What PG version are you using? Back in 8.0 there used to be some odd
corner cases if the last line didn't end with a newline character,
though AFAIR that still wouldn't produce exactly this symptom.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dragan Zubac 2007-12-02 23:54:57 Re: [HACKERS] Stored procedure issue
Previous Message Adrian Klaver 2007-12-02 22:46:14 Re: "relation deleted while in use" encountered with Postgresql 8.0.8