Change internal integer representation of Value node
A Value node would store an integer as a long. This causes needless
portability risks, as long can be of varying sizes. Change it to use
int instead. All code using this was already careful to only store
32-bit values anyway.
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6cf86f435472b27bbc5e22c713bca08aa2d94af7
Modified Files
--------------
src/backend/nodes/outfuncs.c | 2 +-
src/backend/nodes/read.c | 14 +++++---------
src/backend/nodes/value.c | 2 +-
src/backend/parser/scan.l | 9 +++------
src/backend/utils/misc/guc.c | 2 +-
src/include/nodes/value.h | 6 +++---
src/interfaces/ecpg/preproc/pgc.l | 9 +++------
7 files changed, 17 insertions(+), 27 deletions(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.