Commit Graph

54 Commits (525e1c4436651c39f713416348bd35e3176b7797)

Author SHA1 Message Date
Peter Eisentraut 525e1c4436 USE_POSIX_TIME replaced by HAVE_TM_ZONE || HAVE_INT_TIMEZONE, which are 25 years ago
Thomas G. Lockhart 4d745dadc9 Modify date->timestamp conversion to use mktime(). 25 years ago
Thomas G. Lockhart 2016898b6a Fix indenting in prototype declarations. No functional changes. 26 years ago
Peter Eisentraut cb292206c5 Remove a bunch of unused configure tests, in particular cases where 26 years ago
Peter Eisentraut 44d1abebb4 Big warnings cleanup for Solaris/GCC. Down to about 40 now, but 26 years ago
Bruce Momjian 20ad43b576 Mark functions as static and ifdef NOT_USED as appropriate. 26 years ago
Tom Lane 22a517a40c Repair problems with overrun of timezone name length. Increase MAXTZLEN 26 years ago
Thomas G. Lockhart d221e149b4 Fix (well, add) support for ISO "week" in date_part(). Needed for ODBC. 26 years ago
Bruce Momjian 52f77df613 Ye-old pgindent run. Same 4-space tabs. 26 years ago
Thomas G. Lockhart 1b113a23e5 Change rules for interpreting date/time input to disallow 1 and 3 character 26 years ago
Thomas G. Lockhart 9e7166096e Support full POSIX-style time zone: EST+3, PST-3, etc. 26 years ago
Thomas G. Lockhart 6456810078 Implement column aliases on views "CREATE VIEW name (collist)". 26 years ago
Thomas G. Lockhart bf566b202e All regression tests pass except for rules.sql (unrelated). 26 years ago
Bruce Momjian 5c25d60244 Add: 26 years ago
Peter Eisentraut 1cd4c14116 Fixed all elog related warnings, as well as a few others. 26 years ago
Bruce Momjian 7a877dfd2d Remove DATEDEBUG because it didn't look Y2K safe, and fix timestamp elog 26 years ago
Bruce Momjian 3406901a29 Move some system includes into c.h, and remove duplicates. 27 years ago
Bruce Momjian 9b645d481c Update #include cleanups 27 years ago
Bruce Momjian 2e6b1e63a3 Remove unused #includes in *.c files. 27 years ago
Bruce Momjian 4b2c2850bf Clean up #include in /include directory. Add scripts for checking includes. 27 years ago
Bruce Momjian 0cf1b79528 Cleanup of /include #include's, for 6.6 only. 27 years ago
Bruce Momjian 07842084fe pgindent run over code. 27 years ago
Tatsuo Ishii 89c7369d0e Fix from Yutaka Tanida <yutaka@marin.or.jp> for Cygwin32 support. 27 years ago
Thomas G. Lockhart b2b3d5d184 Fix code to check legal dates *before* calling localtime() to get the 27 years ago
Bruce Momjian 80db587e7b Here is a little syntax error found in a .y file... A dropped semi. 27 years ago
Marc G. Fournier 8c3e8a8a0e From: Tatsuo Ishii <t-ishii@sra.co.jp> 27 years ago
Bruce Momjian 6724a50787 Change my-function-name-- to my_function_name, and optimizer renames. 27 years ago
Thomas G. Lockhart 1ace93c46c Fix "Y-2K" problem with two-digit BC dates being corrected by two millenia. 27 years ago
Thomas G. Lockhart 4d56dbd678 Change ordering of HAVE_TM_ZONE and HAVE_INT_TIMEZONE code blocks 27 years ago
Bruce Momjian af74855a60 Renaming cleanup, no pgindent yet. 27 years ago
Bruce Momjian 7971539020 heap_fetch requires buffer pointer, must be released; heap_getnext 27 years ago
Bruce Momjian 6bd323c6b3 Remove un-needed braces around single statements. 28 years ago
Bruce Momjian a32450a585 pgindent run before 6.3 release, with Thomas' requested changes. 28 years ago
Bruce Momjian e6c6146eb8 Allow varchar() to only store needed bytes. Remove PALLOC,PALLOCTYPE,PFREE. Clean up use of VARDATA. 28 years ago
Bruce Momjian deea69b90e Change some ABORTS to ERROR. Add line number when COPY Failure. 28 years ago
Bruce Momjian 0d9fc5afd6 Change elog(WARN) to elog(ERROR) and elog(ABORT). 28 years ago
Thomas G. Lockhart c06331a47d Change a few routine names back to full length now that pg_proc allows 28 years ago
Thomas G. Lockhart 9f99e4c6b6 Add conversion from datetime to time data type. 28 years ago
Bruce Momjian 59f6a57e59 Used modified version of indent that understands over 100 typedefs. 28 years ago
Bruce Momjian 319dbfa736 Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting. 28 years ago
Bruce Momjian 1ccd423235 Massive commit to run PGINDENT on all *.c and *.h files. 28 years ago
Bruce Momjian a1635450b3 Cleanups needed for indent. Remove }; 28 years ago
Vadim B. Mikheev 8fd0898814 Fix time_cmp 28 years ago
Bruce Momjian 1d8bbfd2e7 Make functions static where possible, enclose unused functions in #ifdef NOT_USED. 28 years ago
Thomas G. Lockhart 8507ddb9c6 Use common parser and encoder for timestamp data type. 29 years ago
Thomas G. Lockhart d9bccec0d2 Expunge code not enabled with USE_NEW_DATE and USE_NEW_TIME #defines. 29 years ago
Thomas G. Lockhart 93ac35f06c Fix a few DATEDEBUG print statements. 29 years ago
Thomas G. Lockhart 43b6f1e678 Clean up support for USE_POSIX_TIME, ! HAVE_INT_TIMEZONE machines. 29 years ago
Thomas G. Lockhart e35b759fed Fix datetime and abstime conversions to and from date. 29 years ago
Thomas G. Lockhart 64d9b50893 Fix timezone manipulation code to avoid crashes on some machines. 29 years ago