Re: [HACKERS] int 8 on FreeBSD - Mailing list pgsql-hackers

From The Hermit Hacker
Subject Re: [HACKERS] int 8 on FreeBSD
Date
Msg-id Pine.BSF.4.05.9903080849130.7045-100000@thelab.hub.org
Whole thread Raw
In response to Re: [HACKERS] int 8 on FreeBSD  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, 8 Mar 1999, Tom Lane wrote:

> The Hermit Hacker <scrappy@hub.org> writes:
> > Try what I just commited now...its only in v6.5 sources though...
> > I've modified it so that it checks for use of %lld, and if that fails,
> > check for use of %qd, before it falls back to our homebrew snprintf...
> 
> What I committed this afternoon will work on a %qd box, it'll just
> choose to insert our homebrew snprintf instead of using the local
> version.
> 
> Is it worth adding another test cycle to configure in order to use the
> native snprintf on these boxes?  There are not that many boxes that
> use %qd; and it's not real clear that using our own snprintf is a loss
> anyway.

In all cases, using a system function is preferable to a "home brew
solution"...as its then guaranteed to work, and work optimally, for that
system...

Marc G. Fournier                                
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



pgsql-hackers by date:

Previous
From: "jose' soares"
Date:
Subject: What's happened with 1942
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] 6.4.3 release