On 12/18/2017 03:00 PM, Peter Eisentraut wrote: > On 12/18/17 06:59, Andrew Dunstan wrote: >> I was doing some work over the weekend and it occurred to me that it >> would be quite nice to have the input file name from regression tests >> set as the application name, and then use a log_line_prefix setting >> including %a, so that this would appear on the logs. > It does do that already, as of commit > a4327296df7366ecc657b706a9b5e87aa921311a. Is it not working for you? >
Hah! Totally missed that! It's not working for me because the buildfarm is carefully overriding the log_line_prefix without including %a - it's been like that for ages. I will change the default and go around and change all my machine settings. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services