pgsql: Strip file names reported in error messages on Windows, too.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Strip file names reported in error messages on Windows, too.
Дата
Msg-id E1lSL1h-00031O-Ig@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Strip file names reported in error messages on Windows, too.

Commit dd136052b established a policy that error message FILE items
should include only the base name of the reporting source file, for
uniformity and succinctness.  We now observe that some Windows compilers
use backslashes in __FILE__ strings, so truncate at backslashes as well.

This is expected to fix some platform variation in the results of the
new libpq_pipeline test module.

Discussion: https://postgr.es/m/3650140.1617372290@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/53aafdb9ff6a561c7dea0f428a7c168f2b7e0f16

Modified Files
--------------
src/backend/utils/error/elog.c | 4 ++++
1 file changed, 4 insertions(+)


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Fix typo in 6d7a6feac4
Следующее
От: Fujii Masao
Дата:
Сообщение: pgsql: pg_checksums: Fix progress reporting.