diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-08-06 16:43:41 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-08-06 16:43:41 +0000 |
commit | bb0bdfd101933ab330093acb873a53d180460938 (patch) | |
tree | ce56121d72f695921fa7da1700bf91c7803dacf0 /src/bin/psql/stringutils.c | |
parent | 6c684b18474d1b0ac58365a1634b1f365d1080be (diff) | |
download | postgresql-bb0bdfd101933ab330093acb873a53d180460938.tar.gz postgresql-bb0bdfd101933ab330093acb873a53d180460938.zip |
Fixes:
I've enclosed two patches. The first affects Solaris compilability. The
bug stems from netdb.h (where MAXHOSTNAMELEN is defined on a stock
system). If the user has installed the header files from BIND 4.9.x,
there will be no definition of MAXHOSTNAMELEN. The patch will, if all
else fails, try to include <arpa/nameser.h> and set MAXHOSTNAMELEN to
MAXDNAME, which is 256 (just like MAXHOSTNAMELEN on a stock system).
The second patch adds aliases for "ISNULL" to "IS NULL" and likewise for
"NOTNULL" to "IS NOT NULL". I have not removed the postgres specific
ISNULL and NOTNULL. I noticed this on the TODO list, and figured it would
be easy to remove.
The full semantics are:
[ expression IS NULL ]
[ expression IS NOT NULL ]
--Jason
Submitted by: Jason Wright <jason@oozoo.vnet.net>
Diffstat (limited to 'src/bin/psql/stringutils.c')
0 files changed, 0 insertions, 0 deletions