| From: | stan <stanb(at)panix(dot)com> |
|---|---|
| To: | Michael Lewis <mlewis(at)entrata(dot)com> |
| Cc: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: FW: Re: FW: Re: Shouldn;t this trigger be called? |
| Date: | 2019-09-20 11:02:58 |
| Message-ID: | 20190920110258.GA12885@panix.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Thu, Sep 19, 2019 at 03:54:40PM -0600, Michael Lewis wrote:
> You can also look at citext type to avoid the casting.
>
> customer_key integer DEFAULT
> nextval('customer_key_serial') PRIMARY KEY ,
> cust_no smallint NOT NULL UNIQUE ,
> name varchar UNIQUE ,
>
I am confysed. I am running version 11 which is current I beleive, but when
I try to use this type, I get:
ERROR: type "citext" does not exist
LINE 8: unit citext UNIQUE NOT NULL ,
Do I somehow need to enable this type?
--
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin
| From | Date | Subject | |
|---|---|---|---|
| Next Message | stan | 2019-09-20 11:08:46 | Re: FW: Re: FW: Re: Shouldn;t this trigger be called? |
| Previous Message | Morris de Oryx | 2019-09-20 10:52:00 | Re: FW: Re: FW: Re: Shouldn;t this trigger be called? |