agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Eugene Yin <eugeneymail@ymail.com>
To: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: tablespace
Date: Sun, 17 Jan 2016 16:28:28 +0000 (UTC)
Message-ID: <817370552.6973098.1453048108502.JavaMail.yahoo@mail.yahoo.com> (raw)
References: <817370552.6973098.1453048108502.JavaMail.yahoo.ref@mail.yahoo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

Compare the tablespace concept between Oracle and Postgres.
When I create a table, it is placed in a default tablespace such as "USERS", unless I specify a user created tablespace, say, MyTableSpace.
For example,
create table test_tab(
name varchar2(100),photo BLOB,text   CLOB)tablespace "USERS"   --defaultlob ("photo")  tablespace "MyTableSpace"   --user createdlob ("text")  tablespace "MyTableSpace"    --user created

Now, convert the above table to the counterpart in Postgres.  Where will those columns be placed?
A default tablespace?  User create tablespace?  Or some proprietary logical structure in Postgres?


Thanks
Eugene 
 

Message-ID: <817370552.6973098.1453048108502.JavaMail.yahoo@mail.yahoo.com>
Permalink:  ../817370552.6973098.1453048108502.JavaMail.yahoo@mail.yahoo.com/
Also on:    postgresql.org/message-id/817370552.6973098.1453048108502.JavaMail.yahoo@mail.yahoo.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: eugeneymail@ymail.com
  Subject: Re: tablespace
  In-Reply-To: <817370552.6973098.1453048108502.JavaMail.yahoo@mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox