-
- Downloads
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
Showing
- src/backend/parser/gram.c 1 addition, 1 deletionsrc/backend/parser/gram.c
- src/backend/parser/scan.c 2 additions, 2 deletionssrc/backend/parser/scan.c
- src/configure.in 77 additions, 1 deletionsrc/configure.in
- src/include/config.h.in 6 additions, 0 deletionssrc/include/config.h.in
- src/include/utils/int8.h 8 additions, 15 deletionssrc/include/utils/int8.h
Loading
Please register or sign in to comment