Re: Unused variables in hstore_to_jsonb

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Unused variables in hstore_to_jsonb
Дата
Msg-id 54B4D90C.10006@vmware.com
обсуждение исходный текст
Ответ на Re: Unused variables in hstore_to_jsonb  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Unused variables in hstore_to_jsonb  (Michael Paquier <michael.paquier@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andreas Karlsson
Дата:
Сообщение: Re: PATCH: Reducing lock strength of trigger and foreign key DDL
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Memory leak in receivelog.c when receiving stream