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

From Peter Eisentraut
Subject Re: Plug-in common/logging.h with vacuumlo and oid2name
Date
Msg-id 9479f52d-f170-acff-9b2c-96db3f5edf6a@2ndquadrant.com
Whole thread Raw
In response to 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
On 2019-08-20 03:28, Michael Paquier wrote:
> +                    pg_log_error("\nfailed to remove lo %u: %s", lo,
> +                                 PQerrorMessage(conn));

This newline should be removed.

progname can probably be made into a local variable now.

The rest looks good to me.

Do we need set_pglocale_pgservice() calls here if we're not doing NLS?
Does the logging stuff require it?  I'm not sure.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: refactoring - share str2*int64 functions
Next
From: Richard Guo
Date:
Subject: Re: d25ea01275 and partitionwise join