[pgAdmin][RM4451]Cannot construct SQL script for composite type having only one field variable

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][RM4451]Cannot construct SQL script for composite type having only one field variable
Date: 2019-11-01 09:53:29
Message-ID: CAM9w-_kU7FWKee=BB7wZYnN5cNt0AQ=bZX-0jS3BdMs8rpUPjw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

pgAdmin allows to create composite type only with 2 or more members.
Attached is the patch to remove the restriction as PostgreSQL allows zero
or more and fix the issue where SQL is not generated for types having less
than 2 members.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Attachment Content-Type Size
RM4451.patch application/octet-stream 3.7 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2019-11-01 11:49:21 pgAdmin 4 commit: Support Enable Always and Enable Replica on triggers.
Previous Message Aditya Toshniwal 2019-11-01 07:03:08 [pgAdmin][RM4647] Select File Dialog Sort by file size does not take units into account