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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Aditya Toshniwal
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"

RM4451.patch (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Dave Page-7
Thanks, patch applied.

On Fri, Nov 1, 2019 at 9:54 AM Aditya Toshniwal <[hidden email]> wrote:
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"


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

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