BUG #13768: JSONB concat

Поиск
Список
Период
Сортировка
От awasarax@yandex.ru
Тема BUG #13768: JSONB concat
Дата
Msg-id 20151111115002.2643.11338@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #13768: JSONB concat
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13768
Logged by:          Roman
Email address:      awasarax@yandex.ru
PostgreSQL version: 9.5beta1
Operating system:   Windows (7, Server 2008 r2)
Description:

if "d" is null then return = null
else
return <> null


CREATE OR REPLACE FUNCTION userfunc(jsonb)
  RETURNS jsonb AS
$BODY$
DECLARE
 r jsonb = null;
 d jsonb = null;
BEGIN
 SELECT to_json(users.*) INTO r FROM users WHERE ///////;
 RETURN r||d; -- return null
END;
$BODY$
  LANGUAGE plpgsql VOLATILE;

В списке pgsql-bugs по дате отправления:

Предыдущее
От: postgresql.org@gclough.com
Дата:
Сообщение: BUG #13770: Extending recovery_min_apply_delay on Standby causes it to be unavailable for a while
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13768: JSONB concat