[pgAdmin][RM5526] Copy and paste multiline cells

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][RM5526] Copy and paste multiline cells
Date: 2020-08-10 10:15:48
Message-ID: CAM9w-_nD8GUwymN6AyC-0L5Ww5KYb_TTGxC81ZLSbNyOog7g_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Attached is the patch to fix an issue where copying and pasting a cell with
multiple line data will result in multiple rows. This is a regression of
#3947.
This patch also fixes an old issue where quotes are not escaped when
copying the cells. As per CSV standards, if string is in double quotes and
there are double quotes inside the string then they should be escaped with
extra double quotes.

Please review.

--
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"

Attachment Content-Type Size
RM5526.patch application/octet-stream 8.1 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-08-10 11:25:54 pgAdmin 4 commit: Modified schema diff tool to compare two databases in
Previous Message Ashesh Vashi 2020-08-10 08:55:48 pgAgent commit: Fixed an issue - when two jobs starts at the same time,