Skip site navigation (1) Skip section navigation (2)

Re: Fwd: alter table ... set tablespace

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: sergio nogueira <sergiopnog(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Fwd: alter table ... set tablespace
Date: 2009-06-20 15:21:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
sergio nogueira <sergiopnog(at)gmail(dot)com> writes:
> dmonitor=> alter table whattbs set tablespace monitor_dat1;
> dmonitor=> select tablename, tablespace from pg_tables where
> tablename='whattbs';
>  tablename | tablespace
> -----------+------------
>   whattbs   |
> (1 row)

> In what tablespace is the table?

It's probably in the default tablespace for the current database.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Kevin DuffyDate: 2009-06-21 16:41:19
Subject: Re: level of recursion
Previous:From: sergio nogueiraDate: 2009-06-20 12:21:11
Subject: Fwd: alter table ... set tablespace

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group