Re: COPY when 'filename' is a directory

Поиск
Список
Период
Сортировка
Искать
От
Brent Verner
Тема
Re: COPY when 'filename' is a directory
Дата
Msg-id
20020224015942.GA23089@rcfile.org
Ответ на
Список
Дерево обсуждения
COPY when 'filename' is a directory Douglas Trainor <trainor@uic.edu>
Re: COPY when 'filename' is a directory Brent Verner <brent@rcfile.org>
Re: COPY when 'filename' is a directory Brent Verner <brent@rcfile.org>
Re: COPY when 'filename' is a directory Bruce Momjian <pgman@candle.pha.pa.us>
Re: COPY when 'filename' is a directory Bruce Momjian <pgman@candle.pha.pa.us>
Re: COPY when 'filename' is a directory Bruce Momjian <pgman@candle.pha.pa.us>
Re: COPY when 'filename' is a directory Tom Lane <tgl@sss.pgh.pa.us>
Re: COPY when 'filename' is a directory Brent Verner <brent@rcfile.org>
Re: [PATCHES] COPY when 'filename' is a directory Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCHES] COPY when 'filename' is a directory Bruce Momjian <pgman@candle.pha.pa.us>
Re: [PATCHES] COPY when 'filename' is a directory Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCHES] COPY when 'filename' is a directory Bruce Momjian <pgman@candle.pha.pa.us>
Re: [PATCHES] COPY when 'filename' is a directory Tom Lane <tgl@sss.pgh.pa.us>
Re: COPY when 'filename' is a directory Brent Verner <brent@rcfile.org>
Re: [PATCHES] COPY when 'filename' is a directory Bruce Momjian <pgman@candle.pha.pa.us>
[2002-02-23 20:27] Tom Lane said:
| Bruce Momjian  writes:
| >   		{
| > +       struct stat st;
| >   			fp = AllocateFile(filename, PG_BINARY_R);

| > +         fclose(fp);
| 
| This coding is WRONG.  You do not use fclose() to release a file
| opened with AllocateFile.

corrected diff attached.
  
  b

-- 
"Develop your talent, man, and leave the world something. Records are 
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing."  -- Duane Allman
В списке pgsql-bugs по дате отправления
От: Brent Verner
Дата:
От: Bruce Momjian
Дата:
FAQ