Re: BUG #1044: snprintf() shipped with PostgreSQL is not thread safe

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: D(dot)N(dot)Stepanov(at)inp(dot)nsk(dot)su, PostgreSQL Bugs List <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #1044: snprintf() shipped with PostgreSQL is not thread safe
Date: 2004-01-08 17:18:40
Message-ID: 12010.1073582320@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> What we could do is to throw a compile #error if you hit our own
> snprintf() and are compiling with threads enabled.

Good thought. If we get any complaints then we can reconsider applying
this patch, otherwise there's no need.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Seum-Lim Gan 2004-01-08 18:05:11 Re: dyntest.pgc not working in 7.4 ?
Previous Message Bruce Momjian 2004-01-08 17:15:26 Re: BUG #1044: snprintf() shipped with PostgreSQL is not thread