Re: Plug-in common/logging.h with vacuumlo and oid2name - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Plug-in common/logging.h with vacuumlo and oid2name
Date
Msg-id 20190905135951.GA24123@alvherre.pgsql
Whole thread Raw
In response to Re: Plug-in common/logging.h with vacuumlo and oid2name  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Plug-in common/logging.h with vacuumlo and oid2name
List pgsql-hackers
Patch looks good to me, please push.

Generally speaking I find the 'progname' handling a bit silly (since we
have it both as a variable in each program and also in logging.c
separately), but that's not the fault of this patch, and this patch
doesn't make it worse.  That said, I think some other messages in
vacuumlo can be made pg_log_somelevel(), based on occurrences of
'progname'.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: unexpected rowlock mode when trigger is on the table
Next
From: Alvaro Herrera
Date:
Subject: changing wal segsize with pg_resetwal