Re: [HACKERS] problems with TEMP table (6.5.3)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] problems with TEMP table (6.5.3)
Date: 2000-02-24 19:42:54
Message-ID: 200002241942.OAA04380@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I have a problem with 6.5.3 and TEMP table inside transaction.
>
> test=> vacuum;
> NOTICE: AbortTransaction and not in in-progress state
> ERROR: cannot write block 0 of pg_temp.8928.0 [test] blind
> test=>
>

Yes, there were some problems with temp tables and transaction scoping
that we could not fix in 6.5.*. Those are all addressed in 7.0.

>
> I checked 7.0 from cvs and it looks better.
>
> Also, I see a lot of opened files when doing
> select/inserts into temp table inside transaction
> (temp table was created before transaction). So,
> if I do a lot of selects/inserts I easily reach file description limit.
>
> Do I miss here ?

File descriptors are kept open as a cache. They will be closed as not
needed.

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Roberto Cornacchia 2000-02-24 20:56:58 Re: [HACKERS] Re: about 7.0 LIMIT optimization
Previous Message Karl DeBisschop 2000-02-24 19:16:05 Re: [GENERAL] Re: [HACKERS] TRANSACTIONS