Commit Graph

251 Commits (a39331fa573fc2bd6f93322ff190da26ddc477b5)

Author SHA1 Message Date
Tom Lane 4df0f1d26f Fix timestamptz_in so that parsing of 'now'::timestamptz gives right 23 years ago
Bruce Momjian a286f73210 The following patches eliminate the overflows in the j2date() and date2j() 23 years ago
Tom Lane 23b8a0ce61 Repair array subscript overrun identified by Yichen Xie. Reduce the 23 years ago
Tom Lane cb23b8415b Repair an embarrassingly large number of alphabetization mistakes in the 23 years ago
Tom Lane 6fbe58ce79 Allow +1300 as a numeric timezone specifier; we already accept FJST as meaning +1300. 23 years ago
Bruce Momjian e50f52a074 pgindent run. 24 years ago
Tom Lane 86f27321e2 Work around mktime() brain damage in recent versions of glibc by using 24 years ago
Bruce Momjian 97ac103289 Remove sys/types.h in files that include postgres.h, and hence c.h, 24 years ago
Thomas G. Lockhart b71310d8e0 Add guard code to protect from buffer overruns on long date/time input 24 years ago
Bruce Momjian d84fe82230 Update copyright to 2002. 24 years ago
Jan Wieck 469cb65aca Katherine Ward wrote: 24 years ago
Tom Lane f0811a74b3 Merge the last few variable.c configuration variables into the generic 24 years ago
Thomas G. Lockhart 547df0cc85 Support alternate storage scheme of 64-bit integer for date/time types. 24 years ago
Thomas G. Lockhart c1911c94e9 Add a large number of time zones to the lookup table. 24 years ago
Thomas G. Lockhart c546170e77 Rename TIME token to ISOTIME to eliminate conflict with gram.y parser 24 years ago
Tom Lane ee051baeac Make sure that all <ctype.h> routines are called with unsigned char 24 years ago
Bruce Momjian 9e7b9c6f54 Fix newly introduced datetime.c compile failure; not enough parens. 24 years ago
Thomas G. Lockhart b7a0af7d64 Check a bit more carefully for preceeding ISO field tags 24 years ago
Thomas G. Lockhart b5e23db438 Rework the date/time parsing to tighten up some cases and to enable other 24 years ago
Thomas G. Lockhart db667614ef Add full name of the month of July to the lookup table. 24 years ago
Tom Lane 6c134eb6f1 Spell 'precedes', 'preceding' correctly in various places. 24 years ago
Thomas G. Lockhart 90e757c17d Add a few new time zones, and list every time zone mentioned in my 24 years ago
Tom Lane 5e86d226e4 Grammatical and spelling fixes. 24 years ago
Thomas G. Lockhart 3ea311d4b3 Add British Double Standard Time (BDST) per mailing list report. 24 years ago
Bruce Momjian ea08e6cd55 New pgindent run with fixes suggested by Tom. Patch manually reviewed, 24 years ago
Bruce Momjian 6783b2372e Another pgindent run. Fixes enum indenting, and improves #endif 25 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 25 years ago
Thomas G. Lockhart 424d9389d6 Fix transposed arguments for typmod for one INTERVAL production. 25 years ago
Thomas G. Lockhart 9310075a13 Accept an INTERVAL argument for SET TIME ZONE per SQL99. 25 years ago
Tom Lane 97d0c8b219 Suppress gcc warnings. 25 years ago
Peter Eisentraut 371f49bf9f Remove gratuitous discrepancy between extract() and date_part(), 25 years ago
Thomas G. Lockhart 7547b0104a Define CEST as a synonym for Central European Savings Time 25 years ago
Tom Lane dd154dde59 Make current_time deliver a fractional-second answer. 25 years ago
Thomas G. Lockhart 3e1beda2cd Implement precision support for timestamp and time, both with and without 25 years ago
Thomas G. Lockhart 6f58115ddd Measure the current transaction time to milliseconds. 25 years ago
Tom Lane 975da0a75e Remove formatter's assumption that year would never exceed four digits. 25 years ago
Bruce Momjian 7dac778561 Add GUC setting for Australian timezones. Uses new GUC boolean callback 25 years ago
Tom Lane f5ba72ea04 Consolidate several near-identical uses of mktime() into a single 25 years ago
Tom Lane 1c68f27877 Correct bogus mktime() calls. 25 years ago
Bruce Momjian 9e1552607a pgindent run. Make it all clean. 25 years ago
Tom Lane 7ebbf20763 Remove obsolete PowerPC-specific hack for comparisons to DBL_MIN 25 years ago
Bruce Momjian 623bf843d2 Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 25 years ago
Thomas G. Lockhart 6acdebbd3a Fix up "Postgres-style" time interval representation when fields have 25 years ago
Thomas G. Lockhart 8e9840383c Change comparisons of tm->tm_isdst from "nonzero" to "greater than zero". 25 years ago
Tom Lane a27b691e29 Ensure that all uses of <ctype.h> functions are applied to unsigned-char 25 years ago
Thomas G. Lockhart 89a99cb686 Allow interpretation of INTERVALs with more timezone-like syntax. 25 years ago
Thomas G. Lockhart 2cf1642461 Fix INTERVAL output when year/month has different sign as day/hour etc. 25 years ago
Peter Eisentraut 525e1c4436 USE_POSIX_TIME replaced by HAVE_TM_ZONE || HAVE_INT_TIMEZONE, which are 26 years ago
Thomas G. Lockhart 4d745dadc9 Modify date->timestamp conversion to use mktime(). 26 years ago
Thomas G. Lockhart 2016898b6a Fix indenting in prototype declarations. No functional changes. 26 years ago