Re: [HACKERS] mv backend/port ../../ - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] mv backend/port ../../
Date
Msg-id 199910260416.AAA18352@candle.pha.pa.us
Whole thread Raw
In response to mv backend/port ../../  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> I use the following functions in psql which are found in backend/port.
> That implies that there is at least one system that doesn't have these so
> it would be a good idea if they were available to the entire code tree.
> Could someone move them to a better place in the tree or would you like me
> to do it?
> 
> strcasecmp
> strtol
> putenv (from nextstep/port.c)

We have them because only a few platforms don't have them.  They are
normally part of the OS library.

It is counter productive to move them out of port.  We want to reduce
what is in there, not move it into the main tree.

> 
> In addition, as I already mentioned a while back, I would really like to
> use
> 
> snprintf

I think so, but it only handles strings.  You have to interface that to
the pgsql character types.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: System indexes are never unique indexes( was RE: [HACKERS] mdnblocks is an amazing time sink in huge relations)
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: System indexes are never unique indexes( was RE: [HACKERS] mdnblocksis an amazing time sink in huge relations)