Fujii Masao <masao.fu...@gmail.com> wrote: > By default, the application_name of pgbench is "[unknown]". But I think > that pgbench should use fallback_application_name as psql, pg_dump, > etc does. Is it worth creating the patch?
If we will take care of fallback_application_name for contrib modules, we need to fix not only "pgbench" but also "oid2name" and "dblink". I think those fixes would be worth; at least for telling third-party developers to handle the new parameter. It might be better to set fallback_application_name automatically in libpq, but it requires argv[0] away from main() function. GetModuleFilename() is available on Windows for the purpose, but I don't know what API is available on other platforms. Regards, --- Takahiro Itagaki NTT Open Source Software Center -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers