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

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin][RM4451]Cannot construct SQL script for composite type having only one field variable
Date: 2019-11-01 15:22:40
Message-ID: CA+OCxoyemtZ7k9Kgrf70xopLDE+Bo3LSp-eAa82=c5+aV4Xs5w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks, patch applied.

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

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2019-11-04 07:58:31 [pgAdmin][RM3130] User can not open create new object dialogue with alt+shift+n key on collection node
Previous Message Dave Page 2019-11-01 15:22:02 pgAdmin 4 commit: Remove arbitrary (and incorrect) requirement that com