Re: snprintf improvements

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: snprintf improvements
Date: 2005-03-02 15:43:01
Message-ID: 200503021543.j22Fh1Y24115@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Peter Eisentraut wrote:
> Am Mittwoch, 2. M?rz 2005 15:48 schrieb Bruce Momjian:
> > This patch uses our own snprintf() only when NLS support is enabled, and
> > I added support for %qd and %I64d in snprintf. We might need those in
> > the final version if it is exported to apps.
>
> test -a is not portable.

Thanks, fixed:

if test "$enable_nls" = yes && test $pgac_need_repl_snprintf = no; then

--
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-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-03-02 15:50:22 Re: [pgsql-hackers-win32] [HACKERS] snprintf causes regression tests
Previous Message Bruce Momjian 2005-03-02 15:41:00 Re: [pgsql-hackers-win32] snprintf causes regression tests