Re: [pgAdmin][RM4451]Cannot construct SQL script for composite typehaving only one field variable - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgAdmin][RM4451]Cannot construct SQL script for composite typehaving only one field variable
Date
Msg-id CA+OCxoyemtZ7k9Kgrf70xopLDE+Bo3LSp-eAa82=c5+aV4Xs5w@mail.gmail.com
Whole thread Raw
In response to [pgAdmin][RM4451]Cannot construct SQL script for composite typehaving only one field variable  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
List pgadmin-hackers
Thanks, patch applied.

On Fri, Nov 1, 2019 at 9:54 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> 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

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Remove arbitrary (and incorrect) requirement that com
Next
From: Aditya Toshniwal
Date:
Subject: [pgAdmin][RM3130] User can not open create new object dialogue withalt+shift+n key on collection node