Tablespace Default Behavior - Mailing list pgsql-general

From harpagornis
Subject Tablespace Default Behavior
Date
Msg-id 1490836314764-5952910.post@n3.nabble.com
Whole thread Raw
Responses Re: Tablespace Default Behavior  (harpagornis <shenlong@runbox.com>)
Re: Tablespace Default Behavior  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I am somewhat new to Postgresql.  I cant seem to create a table in a
non-default tablespace.  In the postgresql.conf file,  I have:
default_tablespace = ''".

When I create a table, like this:

    CREATE TABLE myschema.mytable (rc_id integer NOT NULL) TABLESPACE
my_space;

and then I do:

    select * from pg_tables where schemaname ='myschema';

the tablespace is blank for the new table.  When I look in PgAdmin, the
tablespace shows up as "pg_default."   What do I need to change to create
the table in the desired tablespace?  Thank you.




--
View this message in context: http://www.postgresql-archive.org/Tablespace-Default-Behavior-tp5952910.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Cherio
Date:
Subject: Re: Vacuuming tables with BRIN index and CLUSTER ON index
Next
From: Shaun Cutts
Date:
Subject: inevitability of to_date() when converting representations whichdon't represent whole timestamps