Kevin Brown <kevin@sysexperts.com> writes:
>>> It would also be handy if users could see their own queries while the
>>> rest remain blank.
>>
>> Seems reasonable offhand ...
> Here's the patch to make this happen. The first is against 7.2.4, the
> second is against CVS tip.
You forgot documentation fixes. Certainly the entry in
http://www.ca.postgresql.org/users-lounge/docs/7.3/postgres/monitoring-stats.html#MONITORING-STATS-VIEWS
needs to change; not sure if there are any other places, but that's your
task to look...
Also, submitting a patch against two revs back is a waste of time. Only
*very* critical bug fixes would get applied against 7.2.* at this point.
This isn't likely to get into 7.3.* either.
The code itself looks fine though ;-)
regards, tom lane