Search Postgresql Archives

Re: where is the table?

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

 



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


[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