postmaster errors with index on temp table?

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: pgsql-hackers(at)postgresql(dot)org
Subject: postmaster errors with index on temp table?
Date: 2000-07-10 05:57:09
Message-ID: 3.0.5.32.20000710155709.01e94300@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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...

P.S. Searching in the mail archives is still timing out...so if I've missed
a related thread, sorry.

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.C.N. 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2000-07-10 05:58:54 Re: libpq work
Previous Message Chris Bitmead 2000-07-10 05:45:47 libpq work