Re: PATCH: to fix jsonb type rendering in runtime (pgAdmin4)

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: PATCH: to fix jsonb type rendering in runtime (pgAdmin4)
Date: 2016-06-30 12:56:36
Message-ID: CA+OCxoz2pe0HUhUomt5UmSV96wOmU-gOcd54C-HOWahqZBHEFA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

On Thu, Jun 30, 2016 at 11:37 AM, Murtuza Zabuawala
<murtuza(dot)zabuawala(at)enterprisedb(dot)com> wrote:
> Hi Dave,
>
> PFA updated patch.
> Tested with json/json[]/jsonb/jsonb[] (on browsers & runtime).

I can't add rows to a table with this patch applied:

1) Create a table

create table test(id serial primary key, j json, jb jsonb, ja json[],
jba jsonb[])

2) Right-click the table in the treeview, and view the data

3) Click the + button to add a new row

4) The warning about moving to the last page of results is shown, but
clicking OK doesn't dismiss the dialogue.

If I remove the patch, everything works again.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-06-30 13:05:13 pgAdmin 4 commit: Correct label
Previous Message Murtuza Zabuawala 2016-06-30 10:37:03 Re: PATCH: to fix jsonb type rendering in runtime (pgAdmin4)