Re: jsonb concatenate operator's semantics seem questionable

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: jsonb concatenate operator's semantics seem questionable
Дата
Msg-id 555A332F.8020809@agliodbs.com
обсуждение исходный текст
Ответ на jsonb concatenate operator's semantics seem questionable  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: jsonb concatenate operator's semantics seem questionable  (Peter Geoghegan <pg@heroku.com>)
Re: jsonb concatenate operator's semantics seem questionable  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On 05/18/2015 11:34 AM, Peter Geoghegan wrote:
> I'm not necessarily attached to "+". I just want to make this
> different to hstore's "||" operator. There should be a similar idiom
> with jsonb, but that can come later.

This argument still makes no sense to me.  Hstore is not nested. If
anything, the behavior of || in hstore suggests that we *should* use ||
for shallow append in JSONB.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: jsonb concatenate operator's semantics seem questionable
Следующее
От: Tom Lane
Дата:
Сообщение: Re: upper planner path-ification