Re: Cast jsonb to numeric, int, float, bool

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cast jsonb to numeric, int, float, bool
Дата
Msg-id 16735.1525808495@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Cast jsonb to numeric, int, float, bool  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
Teodor Sigaev <teodor@sigaev.ru> writes:
> Thanks for your idea, patch is attached

Looks mostly fine from here.  A couple nitpicks:

* s/translable/translatable/

* Personally I'd try harder to make the lookup table constant, that is

+    static const struct
+    {
+        enum jbvType    type;
+        const char    *msg;
+    }
+        messages[] =
+    {

in hopes that it'd end up in the text segment.

            regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] WIP Patch: Pgbench Serialization and deadlock errors
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: perlcritic script