sergio nogueira wrote: > dmonitor=> create table wereisthetable(col int); > CREATE TABLE > dmonitor=> select tablename, tablespace from pg_tables where tablename='wereisthetable'; > tablename | tablespace > ----------------+------------ > wereisthetable | > (1 row) > > 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) Strange, your sample works as expected on my PostgreSQL 8.4rc1 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-59), 32-bit What do you get for select * from pg_tablespace; Yours, Laurenz Albe -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general