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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] mv backend/port ../../
Date: 1999-10-26 04:16:19
Message-ID: 199910260416.AAA18352@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 1999-10-26 04:27:22 RE: System indexes are never unique indexes( was RE: [HACKERS] mdnblocksis an amazing time sink in huge relations)
Previous Message Bruce Momjian 1999-10-26 03:58:58 Re: System indexes are never unique indexes( was RE: [HACKERS] mdnblocks is an amazing time sink in huge relations)