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

Re: Thread-safe snprintf() vsnprintf() and printf()

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Nicolai Tufar <ntufar(at)gmail(dot)com>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>,pgsql-hackers(at)postgresql(dot)org, pgsql-hackers-win32(at)postgresql(dot)org,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Thread-safe snprintf() vsnprintf() and printf()
Date: 2005-03-01 00:38:39
Message-ID: 200503010038.j210cdQ29479@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32pgsql-patches
Patch applied.  Thanks.

---------------------------------------------------------------------------


Nicolai Tufar wrote:
> And while we are on it, I would like to submit minor
> changes to make snprintf() vsnprintf() and printf()
> functions in src/port/snprintf.c thread-safe.
> 
> Best regards,
> Nicolai Tufar

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
>                http://archives.postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2005-03-01 00:53:47
Subject: Re: Vacuum time degrading
Previous:From: Josh BerkusDate: 2005-02-28 23:57:31
Subject: Re: Development Plans

pgsql-patches by date

Next:From: Tom LaneDate: 2005-03-01 01:01:22
Subject: Re: invalid multibyte character for locale
Previous:From: Tatsuo IshiiDate: 2005-02-28 23:40:07
Subject: Re: invalid multibyte character for locale

pgsql-hackers-win32 by date

Next:From: Bruce MomjianDate: 2005-03-01 04:54:42
Subject: Re: snprintf causes regression tests to fail
Previous:From: Nicolai TufarDate: 2005-02-28 23:22:24
Subject: Thread-safe snprintf() vsnprintf() and printf()

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