summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt
AgeCommit message (Collapse)Author
1997-12-08More VARHDRSZ additions.Bruce Momjian
1997-12-06Add VARHDRSZ where needed. Many places just used 4.Bruce Momjian
1997-12-04Add 'GERMAN' style to date/time output.Thomas G. Lockhart
Probably have it wrong (dd.mm/yyyy) but can change it when we know. Input routines always handled it.
1997-11-24Remove tqual.h includes not needed.Bruce Momjian
1997-11-23Fix for textcat on varchar() fields.Bruce Momjian
1997-11-20Remove all time travel stuff. Small parser cleanup.Bruce Momjian
1997-11-17Use limits.h for INT, SHRT, and SCHAR min and max values rather thanThomas G. Lockhart
hardcoded values.
1997-11-17Use SHRT_MIN and SHRT_MAX for 2-byte integer limits.Thomas G. Lockhart
1997-11-17Allow fractional values for delta times (e.g. '2.5 days').Thomas G. Lockhart
Check valid numeric input more carefully for delta times. Implement day of year as possible input to datetime_part().
1997-11-15Add new \df psql option and oid8types() function.Bruce Momjian
1997-11-07Change phrasing of input error message.Thomas G. Lockhart
Add istrue() and isfalse() routines to implement SQL3 IS TRUE and IS FALSE.
1997-11-02Good Bye, Time Travel!Vadim B. Mikheev
1997-11-01Fix acl error, and remove duplicate pqtrace.Bruce Momjian
1997-10-30Add routines istrue() and isfalse() to directly evaluate boolean type.Thomas G. Lockhart
1997-10-30Fix for when POSIX time not defined.Bruce Momjian
1997-10-25Shorten routine names to <= 16 characters to fit in pg_proc table.Thomas G. Lockhart
1997-10-25Add conversion routines for oid to and from text.Thomas G. Lockhart
1997-10-25Clean up comments.Thomas G. Lockhart
1997-10-25Add conversions for int2 and int4 to and from text.Thomas G. Lockhart
1997-10-25Fix occasional uninitialized variable fractional secondsThomas G. Lockhart
in DecodeTimeOnly(). Only present when seconds are not specified for input.
1997-10-25Add conversion from datetime to time data type.Thomas G. Lockhart
Rename date+time conversion to datetime to ensure less than 16 characters in routine name (required to fit in pg_proc table).
1997-10-25Modify one last line to complete changes for StrNCpy() macro addition.Thomas G. Lockhart
Before, char16 was missing last character for output.
1997-10-25Add debugging statement enabled by CASHDEBUG symbol definition.Thomas G. Lockhart
1997-10-25Check explicitly for valid input strings for both TRUE and FALSE.Thomas G. Lockhart
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.
1997-10-25Rename strNcpy to StrNCpy, and change third parameter.Bruce Momjian
1997-10-17Accept additional values for TRUE: y, Y, 1.Thomas G. Lockhart
Leave all other input values to return FALSE. In next version, do more checking for valid inputs for both TRUE and FALSE.
1997-10-17Fix delta time decoding for 12 AM/PM.Thomas G. Lockhart
1997-10-09Allow 't', 'T', and even/odd ASCII characters to denote true/falseThomas G. Lockhart
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.
1997-10-09Support special values 'now', 'current', etc on output.Thomas G. Lockhart
1997-10-03From JM de Lauwereyns (jmlauwer@icdc.caissedesdepots.fr):Thomas G. Lockhart
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)
1997-09-26AIX float fix.Bruce Momjian
1997-09-25Disable checking for zero or one points with deeper parens on input.Thomas G. Lockhart
Polygon input would not accept single-point polygon output and dump.
1997-09-24Remove extra float.h I added.Bruce Momjian
1997-09-23AIX fixes.Bruce Momjian
1997-09-20Add point_ne() function.Thomas G. Lockhart
Fix up tabbing of most function declarations.
1997-09-20Fix typo for default units for timespan input.Thomas G. Lockhart
Place single-ticks around bad argument in elog messages. Fix tabbing of large lookup tables (ugh).
1997-09-20Include tinterval comparison functions for span of interval.Thomas G. Lockhart
1997-09-20Include functions for integer/money arithmetic.Thomas G. Lockhart
1997-09-18Inline memset() as MemSet().Bruce Momjian
1997-09-16Remove difftime() calls.Thomas G. Lockhart
Still uses time_t declarations, but most code will be changed for next release.
1997-09-13Cleanup for cash patch .Bruce Momjian
1997-09-13Fix for copy to stdout for cash.Bruce Momjian
1997-09-13Fix up error messages to remove extra newline. Use "zero" rather than "0.0".Thomas G. Lockhart
1997-09-12heapattr functions now return a Datum, not char *.Bruce Momjian
1997-09-08Used modified version of indent that understands over 100 typedefs.Bruce Momjian
1997-09-08Add typdefs to pgindent run.Bruce Momjian
1997-09-08Another PGINDENT run that changes variable indenting and case label ↵Bruce Momjian
indenting. Also static variable indenting.
1997-09-07Massive commit to run PGINDENT on all *.c and *.h files.Bruce Momjian
1997-09-06Cleanup needed for indent.Bruce Momjian
1997-09-05Cleanups needed for indent.Bruce Momjian