Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iBXWC-0004EB-Mv for pgsql-general@arkaria.postgresql.org; Sat, 21 Sep 2019 05:01:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iBXVC-0006cc-7J for pgsql-general@arkaria.postgresql.org; Sat, 21 Sep 2019 05:00:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iBXVB-0006cV-O3 for pgsql-general@lists.postgresql.org; Sat, 21 Sep 2019 05:00:09 +0000 Received: from mail-io1-xd42.google.com ([2607:f8b0:4864:20::d42]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iBXV5-0001nV-GH for pgsql-general@postgresql.org; Sat, 21 Sep 2019 05:00:08 +0000 Received: by mail-io1-xd42.google.com with SMTP id b136so20986719iof.3 for ; Fri, 20 Sep 2019 22:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=WdiKkV0LF8yICTi9/aZbNrHd98AqQPraOeAHMyAofUM=; b=s8XZUSThL02qitioOinGCFuaBhSJekSSL8E4xbNaqKO9KXnHG9VMyzrNl8r2m2dErK AMrqDAQywsX6sF2tr1zg/lgDaG6J8/JgOvW1Af71DsVSNuYwELCacvVXJ2q1rbKz7cvz hRUGbxqBvhmdU81T64RFz6ur2zhgQaxSze9YB8CgMbUCbHsUPydQtVHDdZHiYbAmf/oX EwkAhYx45HK1amSmsAgqTcXnMI0vs0qCES1Q0emn0Hlo5ItmA3PiCTAiW2vUw98r1l7J GBPbABgK7/hAGOvFTjfedEf0HMm5n0mJLPOfB7gbtxZvsopeHRu7RoZcxvSkiD5DnvTl 5AWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=WdiKkV0LF8yICTi9/aZbNrHd98AqQPraOeAHMyAofUM=; b=Zl4t/aAKMLC8mKNiM0k1+J9LCthubYpdYnF+eOKztIYbM+8mUsi5C1TOiuIkqaNcbz oFzjv64UvVe2sqO+bbjMee1/UpbfAcOq6uIWDLLMuawaNyayI/fgELJ/DGFfR+4reIki q061QqWhvmOATaRB7mSfY8GhlaoR88k26OxEBu6ksVXMRJJ6U8OhyLfWycFT2UdxtceI 7VF0s3TH1U0YPgAql9x3ZraGLZrj03+fdtcVins3FWsiOnNpR8rcB5nCf9J4N0eeM4AA p28WxpPg6jXti7+LueB2dYW1BesZtJ8f3F+4t+WlCcD0zzc6Lgf7cJSunX6i2WYA61m2 ybjw== X-Gm-Message-State: APjAAAVWBq4JZ08jtPDgLEcBGRy4NDNAVFkCrPHTBC2LsWwUcXqayvoS dls2oZpsI8vltOdmStEveWQ= X-Google-Smtp-Source: APXvYqwbGszFbNi9pmvvoAsT/bKr40HIbGpuIU1vRkuxvBRX44wHVxzHV3V/3e+VNOGqwJWHhaPe1A== X-Received: by 2002:a6b:9109:: with SMTP id t9mr22662023iod.16.1569042002122; Fri, 20 Sep 2019 22:00:02 -0700 (PDT) Received: from [10.0.0.10] (c-73-63-59-118.hsd1.ut.comcast.net. [73.63.59.118]) by smtp.gmail.com with ESMTPSA id u11sm4863510iof.22.2019.09.20.22.00.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Sep 2019 22:00:01 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: citext, actually probably using extensions From: Rob Sargent X-Mailer: iPhone Mail (16G102) In-Reply-To: <24494.1569006722@sss.pgh.pa.us> Date: Fri, 20 Sep 2019 22:59:54 -0600 Cc: stan , pgsql-general@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <503294F3-9916-4DAF-AEC5-EAB919D126C5@gmail.com> References: <20190920181324.GA17323@panix.com> <24494.1569006722@sss.pgh.pa.us> To: Tom Lane List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > On Sep 20, 2019, at 1:12 PM, Tom Lane wrote: >=20 > stan writes: >> But I must be doing something wrong. As the PG superuser, I did this: >> postgres=3D# CREATE EXTENSION IF NOT EXISTS citext WITH SCHEMA public; >> CREATE EXTENSION >=20 >> and as the superuser it shows up in the \dx display >=20 >> BUT as a normal user: >=20 >> stan=3D> \dx >> List of installed extensions >> Name | Version | Schema | Description > =20 >> ---------+---------+------------+------------------------------ >> plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural >> language >> (1 row) >=20 >> It does not. >=20 > Judging from the prompts you show, you installed the extension > in the "postgres" database, but you need it in the "stan" database. >=20 > regards, tom lane >=20 >=20 And if you install the extension in the template1 db it will be included in =E2= =80=98create database=E2=80=99 calls. Rather than having to add it by hand e= ach time=20=