From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
---|---|
To: | Pepe TD Vo <pepevo(at)yahoo(dot)com>, Pgsql-admin <pgsql-admin(at)postgresql(dot)org>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: create tablespace - cannot run inside a transaction block |
Date: | 2019-09-25 19:16:13 |
Message-ID: | 19fd8930b2fcc8f05737b54c8ec847e486dda687.camel@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On Wed, 2019-09-25 at 14:50 +0000, Pepe TD Vo wrote:
> Normally, in Oracle we need to create database, tablespace then
> username/schema and tables, objects, etc...
>
> is the procedure as same as in Postgres? I see the login and schema
> are totally different in Postgres.
No, normally you don't create tablespaces in PostgreSQL.
They are a few use cases for them, but not many.
There is nothing wrong with creating a schema with the same name
as the user in PostgreSQL, as long as you make sure that the
user owns the schema.
Then you have emulated Oracle's behaviour somewhat.
Yours,
Laurenz Albe
--
+43-670-6056265
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26, A-2700 Wiener Neustadt
Web: https://www.cybertec-postgresql.com
From | Date | Subject | |
---|---|---|---|
Next Message | Ron | 2019-09-25 19:40:35 | Better I/O throughput? (was Re: create tablespace - cannot run inside a transaction block) |
Previous Message | Nikolay Samokhvalov | 2019-09-25 17:04:55 | Re: FAIL-OVER AND LOAD BALANCING |