Re: jsonb_array_elements issue
От | David G. Johnston |
---|---|
Тема | Re: jsonb_array_elements issue |
Дата | |
Msg-id | CAKFQuwZvbHFh6z8GamjHHXZsE6auRL4Nnee_8=jVSPQv9=5=aw@mail.gmail.com обсуждение исходный текст |
Ответ на | jsonb_array_elements issue (mephysto <mephystoonhell@gmail.com>) |
Ответы |
Re: jsonb_array_elements issue
|
Список | pgsql-bugs |
On Fri, Aug 5, 2016 at 9:39 AM, mephysto <mephystoonhell@gmail.com> wrote: > Hi there, > I found an issue in jsonb_array_elements that can be a bug. I am using > PostgreSQL 9.5.3. =E2=80=8BNabble generates emails that these lists do not properly accept - = all of your json and queries got stripped out. Anyway, the queries you provided gave me "function not found errors". I did get the following to work just fine though... select jsonb_array_elements( (( '{"skillId":58,"applicationConditionId":1,"skillName":"[{\"id\":1,\"text\":= \"Armatura\"},{\"id\":2,\"text\":\"Armor\"}]","skillDescription":"[{\"id\":= 1,\"text\":\"Riduce ATK DMG ricevuto dalla Carta Personaggio di #[$$X$$]#\"},{\"id\":2,\"text\":\"Reduce ATK DMG dealt to Character Card by #[$$X$$]#\"}]","affectsData":[{"activationTime":1000,"affectId":0,"affectTa= rget":1,"affectTrigger":2,"afterOrBeforeTriggeringAction":1,"effectData":{"= effectFormula":"1*$$X$$","effectId":73,"effectTarget":1,"timeSchedule":""},= "timesToTrigger":-1}],"effectsData":[]}'::JSONB )->>'affectsData' )::jsonb) David J. =E2=80=8B
В списке pgsql-bugs по дате отправления: