dmonitor=> alter table wereisthetable set tablespace monitor_dat1; ALTER TABLE dmonitor=> select tablename, tablespace from pg_tables where tablename='wereisthetable'; tablename | tablespace ----------------+------------ wereisthetable | (1 row)
dmonitor=> select version(); version ------------------------------------------------------------------------------------------------------------ PostgreSQL 8.4rc1 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7), 32-bit (1 row)