Re: create temporary table problem

From: Jerry Sievers <gsievers19(at)comcast(dot)net>
To: JPrasanna Venkatesan <prasanna1981(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: create temporary table problem
Date: 2013-04-02 19:45:10
Message-ID: 87vc84u37d.fsf@comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

JPrasanna Venkatesan <prasanna1981(at)gmail(dot)com> writes:

> Dear All,
>
> I am usnig PGSQL 9.0
>
> When I tried to create a temporary table it is throwing the following error
>
> ERROR:? could not create directory "pg_tblspc/16385/PG_9.0_201008051/20304": No such file or directory

You forgot to migrate your tablespaces when you did the upgrade and
temp_tablespaces is set to an invalid one.

> Whole snippet is like this
>
> ctfdb=> create temporary table assoc ( origin varchar(32), target varchar(255), type varchar(128), descr text,
> generation int, relid varchar(32) );
> ERROR:? could not create directory "pg_tblspc/16385/PG_9.0_201008051/20304": No such file or directory
>
> The same query work in PGSQL 8.0
>
> Please guide me.
>
> Regards,
> J Prasanna Venkatesan
>

--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres(dot)consulting(at)comcast(dot)net
p: 312.241.7800

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joe Van Dyk 2013-04-02 20:53:56 Re: Using varchar primary keys.
Previous Message Merlin Moncure 2013-04-02 19:37:10 Re: Using varchar primary keys.