Commit Graph

88 Commits (141b89826ddb82b3afa7cf5e048d28a3d8e1c45c)

Author SHA1 Message Date
Tom Lane 6743a878a4 Support more locale-specific formatting options in cash_out(). 14 years ago
Tom Lane 7609239f3e Fix assorted bogosities in cash_in() and cash_out(). 14 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Robert Haas f5e524d92b Add casts from int4 and int8 to numeric. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Tom Lane 7590ddb3eb Add support for dividing money by money (yielding a float8 result) and for 16 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane 2ef8c1acfd Fix cash_in() to behave properly in locales where frac_digits is zero, 17 years ago
Tom Lane 0b510ad920 Fix unportable (and incorrect anyway) usage of LL constant suffix that 18 years ago
Tom Lane 8472bf7a73 Allow float8, int8, and related datatypes to be passed by value on machines 18 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Bruce Momjian 8a52d0c94d Clarify how MONEY trims off trailing thousands separator. 18 years ago
Bruce Momjian 5f128d5fe8 Make the MONEY data type have a thousands separator != decimal symbol, 18 years ago
Bruce Momjian 335d9aff6f Fix white space in MONEY type code. Rename 'comma' to more generic 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane 14572e4324 Fix cash_mul_int4 and cash_div_int4 for overenthusiastic substitution 19 years ago
Tom Lane 1783e5db3e Fix money type's send/receive functions to conform to recent widening 19 years ago
Tom Lane 04b54876b6 Fix a portability bug (ye olde not casting a <ctype.h> argument to 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
D'Arcy J.M. Cain 74a40190aa Widen the money type to 64 bits. 19 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Neil Conway a323ede280 Fix a few places that were checking for the return value of palloc() to be 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Bruce Momjian 9dbd00b0e2 Remove unnecessary parentheses in assignments. 21 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Tom Lane 0bd61548ab Solve the 'Turkish problem' with undesirable locale behavior for case 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Peter Eisentraut feb4f44d29 Message editing: remove gratuitous variations in message wording, standardize 23 years ago
Tom Lane ec646dbc65 Create a 'type cache' that keeps track of the data needed for any particular 23 years ago
Tom Lane b6a1d25b0a Error message editing in utils/adt. Again thanks to Joe Conway for doing 23 years ago
Tom Lane 0249c24235 More binary I/O routines. 23 years ago
Tom Lane 31e69ccb21 Add explicit tests for division by zero to all user-accessible integer 23 years ago
Bruce Momjian e50f52a074 pgindent run. 24 years ago
Peter Eisentraut 77f7763b55 Remove all traces of multibyte and locale options. Clean up comments 24 years ago
Tom Lane 0d6f613817 Increase buffer size in cash_words(). Pure paranoia; I don't think the 24 years ago
Peter Eisentraut 867901db9e Locale support is on by default. The choice of locale is done in initdb 24 years ago
Tom Lane d9b01c13a6 Avoid failures in cash_out and cash_words for INT_MIN. 24 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 25 years ago
Bruce Momjian 9e1552607a pgindent run. Make it all clean. 25 years ago
Tom Lane a27b691e29 Ensure that all uses of <ctype.h> functions are applied to unsigned-char 25 years ago
Tom Lane e3269cab31 Make PGLC_setlocale() static, and document that it can't be used safely 25 years ago
Tom Lane bbea3643a3 Store current LC_COLLATE and LC_CTYPE settings in pg_control during initdb; 25 years ago
Tom Lane 75c147e753 Modify locale code to defend against possibility that it was compiled 25 years ago
Tom Lane c298d74d49 More functions updated to new fmgr style --- money, name, tid datatypes. 26 years ago
Tom Lane 463f1f5cda Convert all remaining float4 and float8 functions to new fmgr style. 26 years ago
Bruce Momjian 364985542b Rename cash_words_out to cash_words. 26 years ago
Tom Lane 8ecac94bb2 Functions on 'text' type updated to new fmgr style. 'text' is 26 years ago
Jan Wieck 57d8080a40 TOAST 26 years ago
Bruce Momjian df43800fc8 Clean up #include's. 26 years ago
Peter Eisentraut 44d1abebb4 Big warnings cleanup for Solaris/GCC. Down to about 40 now, but 26 years ago