Re: pgsql: Add a non-strict version of jsonb_set

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pgsql: Add a non-strict version of jsonb_set
Дата
Msg-id CA+Tgmoao4btGD_Cxqg7gRL1Xd1PKo8EKjaUaLvNiOy2Y5=meEQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Add a non-strict version of jsonb_set  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Add a non-strict version of jsonb_set  (Robert Haas <robertmhaas@gmail.com>)
Re: pgsql: Add a non-strict version of jsonb_set  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-committers
On Sun, Jan 19, 2020 at 7:19 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Ah, that makes sense.  Although Mark's idea of including a library
> of possible hooks somewhere under src/tools/ seems even better.

+1. And directions for setting them up (or, as I think he was
proposing, a script, but directions might be better).

> Another point is that a server-side hook is really too late: you'd
> rather get the notice before you "git push", not after.

Yeah, getting warned at commit time would be good.

Another thing that would be nice is to warn about commits that don't
include a "Description:" line. I have been trying to be religious
about that, but I seem to periodically apostatize.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Remove dependency on HeapTuple from predicate locking functions.
Следующее
От: Robert Haas
Дата:
Сообщение: Re: pgsql: Add a non-strict version of jsonb_set