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>, Magnus Hagander <mha(at)sollentuna(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org> |
Subject: | Re: [pgsql-hackers-win32] snprintf causes regression tests |
Date: | 2005-03-14 19:39:19 |
Message-ID: | 200503141939.j2EJdJS21703@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-hackers-win32 pgsql-patches |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I am wondering if we should just process long long args and %$ args,
> > and pass everything else to the native snprintf.
>
> AFAICS this is a non-starter --- how will you construct the call to
> snprintf? Or even vsnprintf? C doesn't provide the tools you need
> to make it happen.
Couldn't you spin through the varargs and reconstruct a new one?
Is there no way to create a va_arg va_list structure in C?
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-03-14 19:41:01 | Re: [pgsql-hackers-win32] snprintf causes regression tests to fail |
Previous Message | Miroslav Šulc | 2005-03-14 19:31:51 | Re: Avoiding tuple construction/deconstruction during joining |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-03-14 19:41:01 | Re: [pgsql-hackers-win32] snprintf causes regression tests to fail |
Previous Message | Tom Lane | 2005-03-14 19:19:14 | Re: [pgsql-hackers-win32] snprintf causes regression tests to fail |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-03-14 19:41:01 | Re: [pgsql-hackers-win32] snprintf causes regression tests to fail |
Previous Message | Tom Lane | 2005-03-14 19:19:14 | Re: [pgsql-hackers-win32] snprintf causes regression tests to fail |