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 1gj4oZ-0004oT-Rg for pgsql-admin@arkaria.postgresql.org; Mon, 14 Jan 2019 16:10:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gj4na-0005Su-KN for pgsql-admin@arkaria.postgresql.org; Mon, 14 Jan 2019 16:09:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gj4na-0005Sm-BX for pgsql-admin@lists.postgresql.org; Mon, 14 Jan 2019 16:09:14 +0000 Received: from sonic308-3.consmr.mail.bf2.yahoo.com ([74.6.130.42]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gj4nT-0001r9-Nk for pgsql-admin@postgresql.org; Mon, 14 Jan 2019 16:09:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1547482144; bh=ogZ8sTlyMarfKDp7krxmOHo5n43jI3zwpvDjsTLyOC4=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=U4DLtCS8kTvxyH/qXiLR8PH2roQslwKE9zsitKFNMa9jsB2wSfrKoosiwduT099kxwnXQzc+5Gjg+tZq2MU4K1fbMMjOllXm2Rd354fvoZgDBCOaV2HuP3ya50ykje9dPhw1651LghwtfATrRcmKuAbS65J0M+zLSbvG0kTiGiI5eK6HBADCAzAcpgFZI3E1ryEO7HFc5WDU6APpXXzyrqqQDYSJAdIh+ahlILH5nxndmXFz+9Ac0Vl1kxeNJAi6/lZtAJlbUTCCSutqSyrM1hqwfWH4SX2xQmkmnE905Q6Xg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gldiXZyLouXdhUvDzu_EajDM1DYtRQupeI7t8 t7xsj1AoNrYFIuDmJMaXjcTTuiz.yCYpsN5hoj2n2Y.IhNUD.W_CTF0oMj9a68J0eu7wfrlXm Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.bf2.yahoo.com with HTTP; Mon, 14 Jan 2019 16:09:04 +0000 Date: Mon, 14 Jan 2019 16:09:03 +0000 (UTC) From: Pepe TD Vo Reply-To: Pepe TD Vo To: Shreeyansh Dba Cc: Pgsql-admin Message-ID: <1244007825.18357044.1547482143445@mail.yahoo.com> In-Reply-To: References: <858026322.18309717.1547479488317.ref@mail.yahoo.com> <858026322.18309717.1547479488317@mail.yahoo.com> Subject: Re: create tablespaces and users MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_18357043_2106081381.1547482143443" X-Mailer: WebService/1.1.12857 YahooMailNeo Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 Content-Length: 13386 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_18357043_2106081381.1547482143443 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable thank you.=C2=A0=C2=A0so after create the database, I need to create user a= nd tablespace with each ownershipcreate user ;create tablespace = location '' owner ; what if I transfer the schemas/triggers, etc... from oracle to postgres, ar= e they stayed the same or what?=C2=A0 What is the best way suggestion I nee= d to do? thank you. v/r,=C2=A0Bach-Nga No one in this world is pure and perfect.=C2=A0 If you avoid people for the= ir mistakes you will be alone. So judge less, love and forgive more.To call= him a dog hardly seems to do him justice though in as much as he had four = legs, a tail, and barked, I admit he was, to all outward appearances. But t= o those who knew him well, he was a perfect gentleman (Hermione Gingold) **Live simply **Love generously **Care deeply **Speak kindly.*** Genuinely = rich *** Faithful talent *** Sharing success=20 On Monday, January 14, 2019 10:48 AM, Shreeyansh Dba wrote: =20 In PostgreSQL tablespaces and user all cluster level objects. tablespace i= s just another name for a folder where the Postgres server process owner (t= ypically =E2=80=9Cpostgres=E2=80=9D system user) is the owner and can write= some files.=C2=A0 In PostgreSQL All objects stored in default tablespace i.e. pg_default.=C2= =A0You can create or alter databases in the tablespace and assign ownership= for that tablespace. Commands use for creating user and tablespace:create user ;creat= e tablespace location '' owner ; Thanks & Regards, Shreeyansh DBA Team www.shreeyansh.com On Mon, Jan 14, 2019 at 8:55 PM Pepe TD Vo wrote: Hello experts,