git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f002ed2) | patch
Set log_line_prefix and application name in test drivers
2016年9月30日 16:00:00 +0000 (12:00 -0400)
Sat, 1 Oct 2016 01:32:33 +0000 (21:32 -0400)
commit a4327296df7366ecc657b706a9b5e87aa921311a
Set log_line_prefix and application name in test drivers

Before pg_regress runs psql, set the application name to the test name.
Similarly, set the application name to the test file name in the TAP
tests. Also, set a default log_line_prefix that show the application
name, as well as the PID and a time stamp.

That way, the server log output can be correlated to the test input
files, making debugging a bit easier.
src/test/perl/PostgresNode.pm diff | blob | blame | history
src/test/perl/TestLib.pm diff | blob | blame | history
src/test/regress/pg_regress.c diff | blob | blame | history
src/test/regress/pg_regress_main.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /