Re: mylog() + qlog() implementation

Поиск
Список
Период
Сортировка
Искать
От
Hiroshi Inoue
Тема
Re: mylog() + qlog() implementation
Дата
в 21:35:25
Msg-id
3CD9D2AA.68A74832@tpf.co.jp
Список
Дерево обсуждения
Re: Individual subsystems' CVS tags? Hiroshi Inoue <Inoue@tpf.co.jp>
Tom Lane wrote:
> 
> Kristis Makris  writes:
> > -#define PG_BINARY_W                  "w"
> > +#define PG_BINARY_W                  "a"
> 
> Surely this would break a lot of other uses?

Practically no. misc.c is the only place where
PG_BINARY_W is used.
 
> I don't object to writing logfiles in append mode... but the
> PG_BINARY_x symbols probably shouldn't be used for logfiles
> in the first place, and in any case we need to distinguish
> "write" from "append" mode.  I think a more extensive patch
> that defines suitable PG_APPEND symbols may be called for.

I would define PG_BINARY_A and change misc.c to use
PG_BINARY_A.

regards,
Hiroshi Inoue
	http://w2422.nsk.ne.jp/~inoue/
В списке pgsql-odbc по дате отправления
От: Hiroshi Inoue
Дата:
От: Corey W. Gibbs
Дата:
FAQ