Re: Unused variables in hstore_to_jsonb - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Unused variables in hstore_to_jsonb
Date
Msg-id 54B4D90C.10006@vmware.com
Whole thread Raw
In response to Re: Unused variables in hstore_to_jsonb  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Unused variables in hstore_to_jsonb
List pgsql-hackers
On 01/13/2015 09:39 AM, Michael Paquier wrote:
> On Tue, Jan 13, 2015 at 4:34 PM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> Attached is a patch to fix that.
> Oh, actually that's as well the case of hstore_to_jsonb_loose. Updated
> patch is attached.

You'll need to use "(void) pushJsonbValue(...)", otherwise you'll just 
get a different warning. See commit c8315930.

- Heikki



pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: PATCH: Reducing lock strength of trigger and foreign key DDL
Next
From: Heikki Linnakangas
Date:
Subject: Re: Memory leak in receivelog.c when receiving stream