Re: [pgsql-hackers-win32] snprintf causes regression tests to fail

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(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 to fail
Date: 2005-03-14 19:19:14
Message-ID: 28986.1110827954@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-03-14 19:22:35 Re: Avoiding tuple construction/deconstruction during joining
Previous Message Miroslav Šulc 2005-03-14 19:11:43 Re: Avoiding tuple construction/deconstruction during joining

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2005-03-14 19:39:19 Re: [pgsql-hackers-win32] snprintf causes regression tests
Previous Message Bruce Momjian 2005-03-14 18:55:16 Re: [pgsql-hackers-win32] snprintf causes regression tests

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-03-14 19:39:19 Re: [pgsql-hackers-win32] snprintf causes regression tests
Previous Message Bruce Momjian 2005-03-14 18:55:16 Re: [pgsql-hackers-win32] snprintf causes regression tests