Re: [HACKERS] DROP TABLE leaks file descriptors

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
Cc: "Bruce Momjian" <maillist(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] DROP TABLE leaks file descriptors
Date: 1999-05-17 22:10:25
Message-ID: 10746.926979025@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> writes:
>> But it is still true that DROP TABLE leaves a virtual
>> file descriptor open for each index on the dropped table, and that's
>> a bug in my book.

> AFAIC the patch by Ole Gjerde [gjerde(at)icebox(dot)org] which has already
> been appiled by Bruce Momjan would solve this problem.
> Would you please ascertain the fact ?

You are correct: I find that repeatedly creating and dropping a table
with an index does not leak file descriptors (either real or virtual)
as of yesterday's sources. So this item can be removed from TODO.

regards, tom lane

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 1999-05-18 01:47:31 Re: [HACKERS] select + order by
Previous Message Bruce Momjian 1999-05-17 18:28:01 Re: [HACKERS] v6.5 release ToDo