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)

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

snprintf

Could that be done?

Thanks,
	Peter

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


Sun, 24 Oct 1999 14:14:53 +0200 (CEST)
Peter Eisentraut <peter_e@gmx.net>
mv backend/port ../../
> 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, Pennsylvania 19026

Tue, 26 Oct 1999 00:16:19 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: [HACKERS] mv backend/port ../../