Re: [RM2074][[RM2080]][pgAdmin4] handle large bytea and bytea[] datain datagrid - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [RM2074][[RM2080]][pgAdmin4] handle large bytea and bytea[] datain datagrid
Date
Msg-id CA+OCxox=ft5qWdtwk4J8zhVT6QtPV_rroe5avL5Z8ia_wgmqBg@mail.gmail.com
Whole thread Raw
In response to Re: [RM2074][[RM2080]][pgAdmin4] handle large bytea and bytea[] data in datagrid  (Dave Page <dpage@pgadmin.org>)
Responses Re: [RM2074][[RM2080]][pgAdmin4] handle large bytea and bytea[] datain datagrid
List pgadmin-hackers


On Thu, Jul 20, 2017 at 1:02 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi

On Wed, Jul 19, 2017 at 1:58 PM, Harshal Dhumal <harshal.dhumal@enterprisedb.com> wrote:
Hi Dave,

On Tue, Jul 18, 2017 at 8:31 PM, Dave Page <dpage@pgadmin.org> wrote:

Thanks, that passes.

Now I've played with it though, I think that the query tool should also hide the binary data.  I don't see a good reason to see it in one place but not another - ultimately it's still not human readable.

Also, we need to make it look like the [null] placeholder I think; e.g. use [ ] instead of < > and give it a lighter colour.

Please find updated patch. I have fixed all of above review comments.

Hmm, not that I can see. See the attached screenshot - I'm getting "binary data" in black, not "[binary data]" in grey (to match [null]). 

Nevermind - I forgot to run make bundle...

Sorry.

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

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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [RM2074][[RM2080]][pgAdmin4] handle large bytea and bytea[] data in datagrid
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Don't attempt to render binary data in the querytool