From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Karen Goh <karenworld@yahoo.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: How do I add/edit 'digit' property into PGAdmin4 ?
Date: Thu, 18 Jul 2019 11:12:53 -0600
Message-ID: <018F5702-CA8B-4311-AD54-30B957C5B2EF@elevated-dev.com> (raw)
In-Reply-To: <503592305.1895694.1563463763702@mail.yahoo.com>
References: <503592305.1895694.1563463763702@mail.yahoo.com>
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 type won't work. Perhaps what you need is a text type with a check constraint to limit it to digits.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: scott_ribe@elevated-dev.com, karenworld@yahoo.com, pgsql-admin@lists.postgresql.org
Subject: Re: How do I add/edit 'digit' property into PGAdmin4 ?
In-Reply-To: <018F5702-CA8B-4311-AD54-30B957C5B2EF@elevated-dev.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox