Re: [BUGS] COPY when 'filename' is a directory

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [BUGS] COPY when 'filename' is a directory
Дата
Msg-id 200202240203.g1O23Z100564@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] COPY when 'filename' is a directory  (Brent Verner <brent@rcfile.org>)
Список pgsql-patches
Brent Verner wrote:
> [2002-02-23 20:27] Tom Lane said:
> | Bruce Momjian <pgman@candle.pha.pa.us> 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.

You are going to feel even more ashamed when you realize you sent a
non-context diff.  :-)

I can't apply that.  I need diff -c.

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

В списке pgsql-patches по дате отправления:

Предыдущее
От: Brent Verner
Дата:
Сообщение: Re: [BUGS] COPY when 'filename' is a directory
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] COPY when 'filename' is a directory