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

From Murtuza Zabuawala
Subject Re: [RM2074][[RM2080]][pgAdmin4] handle large bytea and bytea[] datain datagrid
Date
Msg-id CAKKotZTB-iRKSGqi=yhET+APON3sn2=vt+nH=n03-P_vA0JvNQ@mail.gmail.com
Whole thread Raw
In response to [RM2074][[RM2080]][pgAdmin4] handle large bytea and bytea[] data in datagrid  (Harshal Dhumal <harshal.dhumal@enterprisedb.com>)
Responses Re: [RM2074][[RM2080]][pgAdmin4] handle large bytea and bytea[] data in datagrid  (Harshal Dhumal <harshal.dhumal@enterprisedb.com>)
List pgadmin-hackers
Hi Harshal,

This broke the fetching trigger function parameters logic, take a look at raise_a_notice() function parameter in screenshot.

In my opinion we just can't just blindly convert everything to place holder, what if user wants to perform some operation on bytea column like we are doing in web/pgadmin/browser/server_groups/servers/databases/schemas/tables/templates/trigger/sql/default/properties.sql to fetch these arguments?

Inline image 1

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


On Fri, Jul 14, 2017 at 6:43 PM, Harshal Dhumal <harshal.dhumal@enterprisedb.com> wrote:
Hi,

Please find attached patch to handle bytea and bytea[] data in datagrid.

Now instead of showing actual data we can show placeholders like <binary data> and <binary data[]>. Also placeholders will only appear if data actually exists otherwise null will be shown.


-- 
Harshal Dhumal
Sr. Software Engineer

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

pgadmin-hackers by date:

Previous
From: Harshal Dhumal
Date:
Subject: [RM2074][[RM2080]][pgAdmin4] handle large bytea and bytea[] data in datagrid
Next
From: Joao De Almeida Pereira
Date:
Subject: Re: [pgadmin-hackers][pgaweb][patch] Website patch to add SCSS