From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Is this a bug in pg_current_logfile() on Windows?
Date: Wed, 8 Jul 2020 15:05:25 +0200
Message-ID: <412ae8da-76bb-640f-039a-f3513499e53d@gmx.net> (raw)
Hello,
I noticed the following strage output when running Postgres 12.3 (not psql) on Windows
postgres=# select pg_current_logfile();
pg_current_logfile
------------------------------------
pg_log/postgresql-2020-07-08.log\r
(1 row)
Note the "\r" at the end of the file name.
This does not happen when running Postgres on Linux.
Is this intended for some strange reason?
Or a bug or a technical limitation?
Regards
Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: shammat@gmx.net
Subject: Re: Is this a bug in pg_current_logfile() on Windows?
In-Reply-To: <412ae8da-76bb-640f-039a-f3513499e53d@gmx.net>
References: <412ae8da-76bb-640f-039a-f3513499e53d@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox