From: | Greg Black <gjb(at)acm(dot)org> |
---|---|
To: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | hackers(at)postgreSQL(dot)org |
Subject: | Re: PostgreSQL under BSD/OS |
Date: | 1998-08-29 08:40:43 |
Message-ID: | 19980829084043.27912.qmail@alice.gba.oz.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> OK, in pgsql/src/backend/command/copy.c, you should see a function call
> to FreeFile(). That is what is supposed to be called to free the open
> file. AllocateFile opens the file a few lines above it, in either read
> or write mode.
>
> If you can, can you put a little printf statement just before the
> FreeFile, and see if it is getting called. You have to look in the
> postmaster log file to see the output of the printf(). If it is getting
> called, I have no idea why it would still be holding the file
> descriptor. If it is not calling that function, I am confused because I
> can't see how it could get out of that function without calling it.
I'm willing to have a look at this in a few weeks, but I don't have time
to do it now. I'll get back to you when I've got some additional info.
--
Greg Black <gjb(at)acm(dot)org>
From | Date | Subject | |
---|---|---|---|
Next Message | D'Arcy J.M. Cain | 1998-08-29 10:36:19 | Re: [HACKERS] IP data type |
Previous Message | Bruce Momjian | 1998-08-29 05:55:58 | New DEV FAQ item |