Skip site navigation (1) Skip section navigation (2)

Re: COPY-able sql log outputs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: FAST PostgreSQL <fastpgs(at)fast(dot)fujitsu(dot)com(dot)au>, pgsql-patches(at)postgresql(dot)org
Subject: Re: COPY-able sql log outputs
Date: 2007-03-31 15:51:20
Message-ID: 6089.1175356280@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Magnus Hagander <magnus(at)hagander(dot)net> writes:
> Then, it may be just me, but I find code like this:
> ! 		sqllogFile = fopen(strcat(filename, ".sql"), "a");
> very hard to read.

Such coding should be rejected out of hand anyway --- can you say
"buffer overrun"?

			regards, tom lane

In response to

Responses

pgsql-patches by date

Next:From: Magnus HaganderDate: 2007-03-31 15:55:45
Subject: Re: COPY-able sql log outputs
Previous:From: Tom LaneDate: 2007-03-31 15:38:30
Subject: Re: CIC and deadlocks

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group