Search Postgresql Archives

Does SELECT INTO is affected by default_tablespace?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



According to my test, it does not:

test=# set default_tablespace = testsp;
SET
test=# create table a (i int);
CREATE TABLE
test=# select * into b from a;
SELECT
test=# \d+ b
              Table "public.b"
 Column |  Type   | Modifiers | Description
--------+---------+-----------+-------------
 i      | integer |           |
Has OIDs: yes

test=# \d+ a
              Table "public.a"
 Column |  Type   | Modifiers | Description
--------+---------+-----------+-------------
 i      | integer |           |
Has OIDs: yes
Tablespace: "testsp"


If so, shall we fix it?

Regards,
Qingqing



---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux