Is this a bug in pg_current_logfile() on Windows?

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Is this a bug in pg_current_logfile() on Windows?
Дата
Msg-id 412ae8da-76bb-640f-039a-f3513499e53d@gmx.net
обсуждение исходный текст
Ответы Re: Is this a bug in pg_current_logfile() on Windows?
Re: Is this a bug in pg_current_logfile() on Windows?
Список pgsql-general
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



В списке pgsql-general по дате отправления:

Предыдущее
От: Michael Lewis
Дата:
Сообщение: Re: Is postgres able to share sorts required by common partition window functions?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Is this a bug in pg_current_logfile() on Windows?