Commit Graph

24 Commits (8a300fc3afce4a0fe8a4c55bc22b2aeec092cf23)

Author SHA1 Message Date
Michael Paquier b8da37b3ad Rework pg_input_error_message(), now renamed pg_input_error_info() 3 years ago
Dean Rasheed faff8f8e47 Allow underscores in integer and numeric constants. 3 years ago
Peter Eisentraut 6fcda9aba8 Non-decimal integer literals 3 years ago
Tom Lane ccff2d20ed Convert a few datatype input functions to use "soft" error reporting. 3 years ago
Tom Lane cc50080a82 Rearrange core regression tests to reduce cross-script dependencies. 4 years ago
Peter Eisentraut c06d6aa4c3 Clean up ancient test style 5 years ago
Dean Rasheed 13661ddd7e Add functions gcd() and lcm() for integer and numeric types. 6 years ago
Tom Lane 5e7c3d91bf Add documentation and regression tests concerning rounding of numerics. 11 years ago
Tom Lane 06bf0dd6e3 Upgrade src/port/rint.c to be POSIX-compliant. 11 years ago
Tom Lane 1f7cb5c309 Improve handling of INT_MIN / -1 and related cases. 13 years ago
Peter Eisentraut fc946c39ae Remove useless whitespace at end of lines 15 years ago
Robert Haas 815810ed31 Attempt to fix breakage caused by signed integer conversion patch. 15 years ago
Robert Haas 4fc115b2e9 Speed up conversion of signed integers to C strings. 15 years ago
Peter Eisentraut 6151e89e8b Remove some unportable tests 18 years ago
Peter Eisentraut 34411cfac5 Additional test coverage for int8 type (int8.c) 18 years ago
Tom Lane 8cb4e4f6bd Add regression test to see if the min/max values of int8 convert correctly. 20 years ago
Bruce Momjian bb3cce4ec9 Add E'' syntax so eventually normal strings can treat backslashes 21 years ago
Tom Lane 4171bb869f Detect overflow in integer arithmetic operators (integer, smallint, and 22 years ago
Neil Conway e2ded829f6 Revise int2/int4/int8/float4/float8 input routines to allow for 22 years ago
Tom Lane b78d1bed07 Change float8-to-int8 conversion to round to nearest, rather than 25 years ago
Bruce Momjian 28fb1c196b Update create_rule manual page. 26 years ago
Bruce Momjian eae5184d11 Hi, 26 years ago
Thomas G. Lockhart 61ef6a1a3f Clean up syntax to use SQL92-ish type coersion 26 years ago
Thomas G. Lockhart e2ba4ee2a8 Include tests for new 8-byte integer. 28 years ago