Re: WIP patch for Todo Item : Provide fallback_application_name in contrib/pgbench, oid2name, and dblink

From: Amit Kapila <amit(dot)kapila(at)huawei(dot)com>
To: "'Shigeru HANADA'" <shigeru(dot)hanada(at)gmail(dot)com>, "'Robert Haas'" <robertmhaas(at)gmail(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP patch for Todo Item : Provide fallback_application_name in contrib/pgbench, oid2name, and dblink
Date: 2012-07-04 03:36:08
Message-ID: 003201cd5996$26b2f040$7418d0c0$@kapila@huawei.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Shigeru/Robert,

-----Original Message-----
From: Shigeru HANADA [mailto:shigeru(dot)hanada(at)gmail(dot)com]
Sent: Wednesday, July 04, 2012 6:57 AM

(2012/06/28 11:16), Robert Haas wrote:
>> If it can be done without costing anything meaningful, I don't object,
>> but I would humbly suggest that this is not hugely important one way
>> or the other. application_name is primarily a monitoring convenience,
>> so it's not hugely important to have it set anyway, and
>> fallback_application_name is only going to apply in cases where the
>> user doesn't care enough to bother setting application_name. Let's
>> not knock ourselves out to solve a problem that may not be that
>> important to begin with.

>Thanks for clarification. I got the point.

> The way fixing oid2name and pgbench seems reasonable, so applying it to
> vacuumlo (as Peter mentioned) would be enough for this issue.

Shall I consider following 2 points to update the patch:
1. Apply changes similar to pgbench and oid2name for vacuumlo
2. Remove the modifications for dblink.

With Regards,
Amit Kapila.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-07-04 04:43:26 Re: Patch: add conversion from pg_wchar to multibyte
Previous Message Shigeru HANADA 2012-07-04 01:27:19 Re: WIP patch for Todo Item : Provide fallback_application_name in contrib/pgbench, oid2name, and dblink