pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: stan <stanb@panix.com>
To: Michael Lewis <mlewis@entrata.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: FW: Re: FW: Re: Shouldn;t this trigger be called?
Date: Fri, 20 Sep 2019 07:02:58 -0400
Message-ID: <20190920110258.GA12885@panix.com> (raw)
In-Reply-To: <CAHOFxGrZqPDOTheMT+kMb2sUSvg7SiFvr=d2-gugwxBr_mMDaw@mail.gmail.com>
References: <50d5b256-74b9-1949-a634-0df37cbfb783@aklaver.com>
	<20190916010439.GA7478@panix.com>
	<11b4428d-8740-07f4-a053-37f0bb0cd2fb@aklaver.com>
	<20190916185333.GB28966@panix.com>
	<b1b8bfde-a836-c05f-fa2f-01ee29d93032@aklaver.com>
	<20190916195543.GA16882@panix.com>
	<4b1da094-8342-6415-e0a4-ce87fd1331ab@aklaver.com>
	<20190917093126.GA935@panix.com>
	<699cb705-0609-c830-b6c3-3a4aa9bc2e58@aklaver.com>
	<CAHOFxGrZqPDOTheMT+kMb2sUSvg7SiFvr=d2-gugwxBr_mMDaw@mail.gmail.com>

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





view thread (24+ messages)  latest in thread

Message-ID: <20190920110258.GA12885@panix.com>
Permalink:  ../20190920110258.GA12885@panix.com/
Also on:    postgresql.org/message-id/20190920110258.GA12885@panix.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: stanb@panix.com, mlewis@entrata.com
  Subject: Re: FW: Re: FW: Re: Shouldn;t this trigger be called?
  In-Reply-To: <20190920110258.GA12885@panix.com>
  References: <50d5b256-74b9-1949-a634-0df37cbfb783@aklaver.com> <20190916010439.GA7478@panix.com> <11b4428d-8740-07f4-a053-37f0bb0cd2fb@aklaver.com> <20190916185333.GB28966@panix.com> <b1b8bfde-a836-c05f-fa2f-01ee29d93032@aklaver.com> <20190916195543.GA16882@panix.com> <4b1da094-8342-6415-e0a4-ce87fd1331ab@aklaver.com> <20190917093126.GA935@panix.com> <699cb705-0609-c830-b6c3-3a4aa9bc2e58@aklaver.com> <CAHOFxGrZqPDOTheMT+kMb2sUSvg7SiFvr=d2-gugwxBr_mMDaw@mail.gmail.com> <20190920110258.GA12885@panix.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