Re: mylog() + qlog() implementation

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kristis Makris <kristis(dot)makris(at)datasoft(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: mylog() + qlog() implementation
Date: 2002-05-08 04:40:04
Message-ID: 29132.1020832804@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Kristis Makris <kristis(dot)makris(at)datasoft(dot)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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2002-05-09 01:17:07 Re: Parse Errors with prepared query
Previous Message Ed Brown 2002-05-07 23:03:01 Parse Errors with prepared query