Attached is a patch that uses autoconf to determine whether there

Bruce Momjian <bruce@momjian.us>

Commit: 07ae591c87ad256a5c9b081a3eb14ba5549d273f
Author: Bruce Momjian <bruce@momjian.us>
Date: 1998-08-23T22:25:54Z
Releases: 7.1.1
Attached is a patch that uses autoconf to determine whether there
is a working 64-bit-int type available.

In playing around with it on my machine, I found that gcc provides
perfectly fine support for "long long" arithmetic ... but sprintf()
and sscanf(), which are system-supplied, don't work :-(.  So the
autoconf test program does a cursory test on them too.

If we find that a lot of systems are like this, it might be worth
the trouble to implement binary<->ASCII conversion of int64 ourselves
rather than relying on sprintf/sscanf to handle the data type.

			regards, tom lane

Files

PathChange+/−
src/backend/parser/gram.c modified +1 −1
src/backend/parser/scan.c modified +2 −2
src/configure.in modified +77 −1
src/include/config.h.in modified +6 −0
src/include/utils/int8.h modified +8 −15