Re: [HACKERS] snprintf() argument reordering not working under - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [HACKERS] snprintf() argument reordering not working under
Date
Msg-id 200512031719.jB3HJ0W27265@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] snprintf() argument reordering not working under Windows  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > I am also thinking of modifying the code so if we are using snprintf.c
> > only because we need positional parameter control, we check for '$' in
> > the string and only use snprintf.c in those cases.
>
> What's the point?  If the code is in there we may as well use it.

I was thinking it might avoid us hitting other bugs in there, but that
is pessimistic, of course.  I will hold off on that idea.

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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] snprintf() argument reordering not working under Windows
Next
From: "Magnus Hagander"
Date:
Subject: Re: [HACKERS] snprintf() argument reordering not working under Windows in 8.1