Re: How do I add/edit 'digit' property into PGAdmin4 ? - Mailing list pgsql-admin

From Scott Ribe
Subject Re: How do I add/edit 'digit' property into PGAdmin4 ?
Date
Msg-id 018F5702-CA8B-4311-AD54-30B957C5B2EF@elevated-dev.com
Whole thread Raw
In response to How do I add/edit 'digit' property into PGAdmin4 ?  (Karen Goh <karenworld@yahoo.com>)
List pgsql-admin
On Jul 18, 2019, at 9:29 AM, Karen Goh <karenworld@yahoo.com> wrote:
>
> I need help to change an existing column in my table from text to 'digit' type.
>
> However, I can't find any numeric or integer property type.
>
> The digit type should contains numbers only but it is not for calculation.  It is a zipcode that has 6 digit numbers.

There is no digit type. I assume your 6-digit numbers can have leading 0s which need to be preserved, so an integer
typewon't work. Perhaps what you need is a text type with a check constraint to limit it to digits. 


pgsql-admin by date:

Previous
From: Shreeyansh Dba
Date:
Subject: Re: How do I add/edit 'digit' property into PGAdmin4 ?
Next
From: Suresh Seema
Date:
Subject: pguint Installation error in PostgreSQL server version 11.2