Re: postmaster errors with index on temp table? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: postmaster errors with index on temp table?
Date
Msg-id 200007101315.JAA26468@candle.pha.pa.us
Whole thread Raw
In response to postmaster errors with index on temp table?  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: postmaster errors with index on temp table?  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-hackers
> 
> Is this a known problem?
> 
> pjw=# create temporary table tt(f int4);
> CREATE
> pjw=# create index tt_ix1 on tt(f);
> CREATE
> pjw=# \q
> 
> The postmaster says:
> 
> NOTICE:  mdopen: couldn't open pg_temp.31633.1: No such file or directory
> pq_flush: send() failed: Bad file descriptor
> NOTICE:  RelationIdBuildRelation: smgropen(pg_temp.31633.1): Bad file
> descriptor
> pq_flush: send() failed: Bad file descriptor
> 
> It only happens if you create an index on a temporary table...

Yikes, I never looked in the postmaster log to see this.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: eisentrp@csis.gvsu.edu
Date:
Subject: Re: Re: postgres TODO
Next
From: Bruce Momjian
Date:
Subject: Re: Progress report: intraquery memory recovery in executor