Re: mylog() + qlog() implementation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: mylog() + qlog() implementation
Дата
Msg-id 29132.1020832804@sss.pgh.pa.us
обсуждение исходный текст
Ответ на mylog() + qlog() implementation  (Kristis Makris <kristis.makris@datasoft.com>)
Список pgsql-odbc
Kristis Makris <kristis.makris@datasoft.com> writes:
> -#define PG_BINARY_W            "w"
> +#define PG_BINARY_W            "a"

Surely this would break a lot of other uses?

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.

            regards, tom lane

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

Предыдущее
От: Kristis Makris
Дата:
Сообщение: mylog() + qlog() implementation
Следующее
От: "Ed Brown"
Дата:
Сообщение: Parse Errors with prepared query