Re: [ADMIN] Some questions on PostgreSQL 9.6 JSONB

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [ADMIN] Some questions on PostgreSQL 9.6 JSONB
Дата
Msg-id CAKFQuwb1-hkSiSokxe9bR-keoo5_f-iMdjORXyRHZ=yJo+=kiA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [ADMIN] Some questions on PostgreSQL 9.6 JSONB  (Wei Shan <weishan.ang@gmail.com>)
Список pgsql-admin
On Wednesday, August 30, 2017, Wei Shan <weishan.ang@gmail.com> wrote:
Stupid question really,

If I have to specify the entire JSON value, this means that the update query replaces the entire row instead of updating a single field. Is this correct?

The whole row is always replaced.  Any values not specified in the update set list are simply copied over to the new record as-is.

David J. 

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

Предыдущее
От: Wei Shan
Дата:
Сообщение: Re: [ADMIN] Some questions on PostgreSQL 9.6 JSONB
Следующее
От: Mariel Cherkassky
Дата:
Сообщение: [ADMIN] Fwd: printing results of query to file in different times