Re: [PATCH] Generic type subscription
| От | Oleg Bartunov |
|---|---|
| Тема | Re: [PATCH] Generic type subscription |
| Дата | |
| Msg-id | CAF4Au4wDY8bBBKV-=3X5CJqH1WaJ21O4Ody70L2F2UPevracWw@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: [PATCH] Generic type subscription (Dmitry Dolgov <9erthalion6@gmail.com>) |
| Ответы |
Re: [PATCH] Generic type subscription
|
| Список | pgsql-hackers |
On Sat, Oct 1, 2016 at 12:52 PM, Dmitry Dolgov <9erthalion6@gmail.com> wrote:
> I've tried to compile this patch with current state of master (commit> 51c3e9fade76c12) and found out that, when configured with --enable-cassert,> it doesn't pass make check.Thanks for the feedback. Yes, unexpectedly for me, `ExecEvalExpr` can returnexpanded `jbvArray` and `jbvObject` instead `jbvBinary` in both cases. It'sinteresting, that this doesn't break anything, but obviously violatesthe `pushJsonbValueScalar` semantics. I don't think `ExecEvalExpr` should bechanged for jsonb, we can handle this situation in `pushJsonbValue` instead. I'veattached a new version of patch with this modification.
have you ever run 'make check' ?
=========================
53 of 168 tests failed.
=========================
=========================
53 of 168 tests failed.
=========================
On 27 September 2016 at 19:08, Victor Wagner <vitus@wagner.pp.ru> wrote:On Fri, 9 Sep 2016 18:29:23 +0700
Dmitry Dolgov <9erthalion6@gmail.com> wrote:
> Hi,
>
> Regarding to the previous conversations [1], [2], here is a patch
> (with some improvements from Nikita Glukhov) for the generic type
> subscription. It allows
> to define type-specific subscription logic for any data type and has
> implementations for the array and jsonb types. There are following
> changes in this
> patch:
I've tried to compile this patch with current state of master (commit
51c3e9fade76c12) and found out that, when configured with
--enable-cassert, it doesn't pass make check.
LOG: server process (PID 4643) was terminated by signal 6: Aborted
DETAIL: Failed process was running:
update test_jsonb_subscript set test_json['a'] = '{"b":
1}'::jsonb;
--
Victor
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления: