Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBcYr-0006hw-Ba for pgsql-novice@arkaria.postgresql.org; Fri, 28 Aug 2020 11:28:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kBcYo-0007nR-BV for pgsql-novice@arkaria.postgresql.org; Fri, 28 Aug 2020 11:28:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBcYo-0007nK-50 for pgsql-novice@lists.postgresql.org; Fri, 28 Aug 2020 11:28:46 +0000 Received: from gw.citecs.de ([212.9.189.66]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kBcYh-0001pi-BK for pgsql-novice@lists.postgresql.org; Fri, 28 Aug 2020 11:28:45 +0000 Received: from app.citecs ([10.0.0.50]) by gw.citecs.de with esmtp (Exim 3.35 #1 (Debian)) id 1kBcYd-0008Lj-00; Fri, 28 Aug 2020 13:28:35 +0200 Received: from chris by app.citecs proof01 mmkjnclr with local (Exim 4.80) id 1kBcYd-0003aW-4n; Fri, 28 Aug 2020 13:28:35 +0200 Date: Fri, 28 Aug 2020 13:28:35 +0200 From: psql-contact@citecs.de To: pgsql-novice@lists.postgresql.org Cc: psql-contact@citecs.de Subject: Re: can't create table on new db/schema/user Message-ID: <20200828112835.GA6710@app.citecs> References: <20200828103202.GA6864@app.citecs> <20200828105612.GB7316@depesz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200828105612.GB7316@depesz.com> X-pgp-fingerprint: 4096R/3B7D0DF2 / B865 A021 AC93 B61F 4476 32A6 04A6 FBDD 3B7D 0DF2 X-pgp-key-url: http://www.citecs.de/pgpkey.chris.asc X-PGP-Key: http://www.citecs.de/pgpkey.chris.asc Organization: private User-Agent: Mutt/1.5.21 (2010-09-15) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Aug 28, 2020 at 12:56:12PM +0200, hubert depesz lubaczewski wrote: > Schema s_chris is in database "postgres", but you try to make the table > in "db_chris". > > So you have to make the schema in db_chris database. How would I do that? I ran create schema s_chris authorization "chris"; How do I specify the database? According to https://www.postgresql.org/docs/11/sql-createschema.html there seems to be no such parameter.