summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt
Commit message (Collapse)AuthorAgeFilesLines
* First clean compile without a "PORTNAME" variable being set...Marc G. Fournier1997-12-201-5/+1
|
* More cleanups. I can now compile without PORTNAME being defined nMarc G. Fournier1997-12-193-9/+16
| | | | | | | | | Makefile.global. End result, if all goes well, should allow for much easier porting, since there will no longer be a concept of a "port". Most, if not everything, *should* be determined by configure, or by the compiler itself. Still work to be done though :)
* Enable timespan_finite() and text_timespan() routines (was commented out).Thomas G. Lockhart1997-12-171-50/+85
| | | | | Define an "ISO-style" timespan output format with "hh:mm:ss" fields. Enabled by DateStyle = USE_ISO_DATES.
* Define text, varchar, and bpchar string length functions.Thomas G. Lockhart1997-12-162-13/+25
|
* More VARHDRSZ additions.Bruce Momjian1997-12-081-7/+7
|
* Add VARHDRSZ where needed. Many places just used 4.Bruce Momjian1997-12-064-55/+55
|
* Add 'GERMAN' style to date/time output.Thomas G. Lockhart1997-12-041-174/+143
| | | | | Probably have it wrong (dd.mm/yyyy) but can change it when we know. Input routines always handled it.
* Remove tqual.h includes not needed.Bruce Momjian1997-11-243-5/+5
|
* Fix for textcat on varchar() fields.Bruce Momjian1997-11-231-1/+6
|
* Remove all time travel stuff. Small parser cleanup.Bruce Momjian1997-11-204-10/+10
|
* Use limits.h for INT, SHRT, and SCHAR min and max values rather thanThomas G. Lockhart1997-11-171-7/+29
| | | | hardcoded values.
* Use SHRT_MIN and SHRT_MAX for 2-byte integer limits.Thomas G. Lockhart1997-11-171-5/+15
|
* Allow fractional values for delta times (e.g. '2.5 days').Thomas G. Lockhart1997-11-171-14/+54
| | | | | Check valid numeric input more carefully for delta times. Implement day of year as possible input to datetime_part().
* Add new \df psql option and oid8types() function.Bruce Momjian1997-11-151-2/+77
|
* Change phrasing of input error message.Thomas G. Lockhart1997-11-071-3/+5
| | | | Add istrue() and isfalse() routines to implement SQL3 IS TRUE and IS FALSE.
* Good Bye, Time Travel!Vadim B. Mikheev1997-11-021-7/+2
|
* Fix acl error, and remove duplicate pqtrace.Bruce Momjian1997-11-011-1/+10
|
* Add routines istrue() and isfalse() to directly evaluate boolean type.Thomas G. Lockhart1997-10-301-1/+13
|
* Fix for when POSIX time not defined.Bruce Momjian1997-10-301-2/+3
|
* Shorten routine names to <= 16 characters to fit in pg_proc table.Thomas G. Lockhart1997-10-251-17/+8
|
* Add conversion routines for oid to and from text.Thomas G. Lockhart1997-10-251-4/+44
|
* Clean up comments.Thomas G. Lockhart1997-10-251-5/+5
|
* Add conversions for int2 and int4 to and from text.Thomas G. Lockhart1997-10-251-8/+91
|
* Fix occasional uninitialized variable fractional secondsThomas G. Lockhart1997-10-251-3/+3
| | | | | in DecodeTimeOnly(). Only present when seconds are not specified for input.
* Add conversion from datetime to time data type.Thomas G. Lockhart1997-10-251-92/+86
| | | | | Rename date+time conversion to datetime to ensure less than 16 characters in routine name (required to fit in pg_proc table).
* Modify one last line to complete changes for StrNCpy() macro addition.Thomas G. Lockhart1997-10-251-2/+2
| | | | Before, char16 was missing last character for output.
* Add debugging statement enabled by CASHDEBUG symbol definition.Thomas G. Lockhart1997-10-251-1/+10
|
* Check explicitly for valid input strings for both TRUE and FALSE.Thomas G. Lockhart1997-10-251-12/+19
| | | | | | | Allow true/false, yes/no, 1/0. Throw elog warning if anything else. Allow shorter strings, so "t", "tr", "tru" and "true" match "true". Old behavior accepted anything starting with "t" as TRUE, everything else as FALSE.
* Rename strNcpy to StrNCpy, and change third parameter.Bruce Momjian1997-10-258-24/+24
|
* Accept additional values for TRUE: y, Y, 1.Thomas G. Lockhart1997-10-171-8/+42
| | | | | Leave all other input values to return FALSE. In next version, do more checking for valid inputs for both TRUE and FALSE.
* Fix delta time decoding for 12 AM/PM.Thomas G. Lockhart1997-10-171-74/+77
|
* Allow 't', 'T', and even/odd ASCII characters to denote true/falseThomas G. Lockhart1997-10-091-8/+11
| | | | | | | rather than just 't' and 'T'. This allows yes/no and 1/0 to be interpreted as one might expect. Clean up function declarations to use bool as the type for arguments and return values.
* Support special values 'now', 'current', etc on output.Thomas G. Lockhart1997-10-091-23/+25
|
* From JM de Lauwereyns (jmlauwer@icdc.caissedesdepots.fr):Thomas G. Lockhart1997-10-031-21/+20
| | | | | | lconv is already taken as a struct identifier defined in a /usr/include file. Only has an effect with USE_LOCALE enabled. (Apparently unique to AIX and/or AIX compiler? thomas)
* AIX float fix.Bruce Momjian1997-09-261-3/+22
|
* Disable checking for zero or one points with deeper parens on input.Thomas G. Lockhart1997-09-251-1/+3
| | | | Polygon input would not accept single-point polygon output and dump.
* Remove extra float.h I added.Bruce Momjian1997-09-241-3/+1
|
* AIX fixes.Bruce Momjian1997-09-231-1/+3
|
* Add point_ne() function.Thomas G. Lockhart1997-09-201-91/+98
| | | | Fix up tabbing of most function declarations.
* Fix typo for default units for timespan input.Thomas G. Lockhart1997-09-201-240/+223
| | | | | Place single-ticks around bad argument in elog messages. Fix tabbing of large lookup tables (ugh).
* Include tinterval comparison functions for span of interval.Thomas G. Lockhart1997-09-201-5/+206
|
* Include functions for integer/money arithmetic.Thomas G. Lockhart1997-09-201-9/+186
|
* Inline memset() as MemSet().Bruce Momjian1997-09-186-21/+21
|
* Remove difftime() calls.Thomas G. Lockhart1997-09-161-126/+28
| | | | Still uses time_t declarations, but most code will be changed for next release.
* Cleanup for cash patch .Bruce Momjian1997-09-131-6/+6
|
* Fix for copy to stdout for cash.Bruce Momjian1997-09-131-2/+3
|
* Fix up error messages to remove extra newline. Use "zero" rather than "0.0".Thomas G. Lockhart1997-09-131-26/+26
|
* heapattr functions now return a Datum, not char *.Bruce Momjian1997-09-121-6/+6
|
* Used modified version of indent that understands over 100 typedefs.Bruce Momjian1997-09-0823-383/+387
|
* Add typdefs to pgindent run.Bruce Momjian1997-09-087-90/+138
|