Re: [HACKERS] snprintf() argument reordering not working under

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Nicolai Tufar <ntufar(at)gmail(dot)com>, devrim(at)kivi(dot)com(dot)tr, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>, Magnus Hagander <mha(at)sollentuna(dot)net>
Subject: Re: [HACKERS] snprintf() argument reordering not working under
Date: 2005-12-03 17:19:00
Message-ID: 200512031719.jB3HJ0W27265@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(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

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-12-03 17:26:02 Re: Strange left join problems in 8.1
Previous Message Mario Weilguni 2005-12-03 17:18:23 Re: Strange left join problems in 8.1

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2005-12-03 17:38:53 Re: [HACKERS] snprintf() argument reordering not working under Windows in 8.1
Previous Message Tom Lane 2005-12-03 17:00:32 Re: [HACKERS] snprintf() argument reordering not working under Windows