Re: [HACKERS] mv backend/port ../../

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] mv backend/port ../../
Дата
Msg-id 199910260416.AAA18352@candle.pha.pa.us
обсуждение исходный текст
Ответ на mv backend/port ../../  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: System indexes are never unique indexes( was RE: [HACKERS] mdnblocks is an amazing time sink in huge relations)
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: System indexes are never unique indexes( was RE: [HACKERS] mdnblocksis an amazing time sink in huge relations)