Re: Cluster name in ps output - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Cluster name in ps output
Date
Msg-id CADLWmXW+rwmacLdpvfU6x0-2-yvJna=TZWbciYXRjREOmFTXOw@mail.gmail.com
Whole thread Raw
In response to Re: Cluster name in ps output  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Cluster name in ps output  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On 25 June 2014 08:13, Fujii Masao <masao.fujii@gmail.com> wrote:
> On Wed, Jun 25, 2014 at 1:29 PM, Abhijit Menon-Sen <ams@2ndquadrant.com> wrote:
>> The patch looks OK, and works as advertised (I tested on Linux). If we
>> want the feature (I like it), this patch is a good enough way to get it.
>
> I got the following compiler warning.
>
> guc.c:3099: warning: initialization from incompatible pointer type

Thank you both for your reviews.  Please find attached an updated v5
patch (based on Abhijit's rebased and improved version) which fixes
the compiler warning.  (The previous unusual and possibly incorrect
static initialization with a string literal was intended to make sure
logging would work before the GUC machinery has finished setting up
default values, but that no longer applies.)

Regards,
Thomas Munro

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: What's the point of json_extract_path_op etc?
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #10728: json_to_recordset with nested json objects NULLs columns