postgresql/src/include/utils
Tom Lane 921d749bd4 Adjust our timezone library to use pg_time_t (typedef'd as int64) in
place of time_t, as per prior discussion.  The behavior does not change
on machines without a 64-bit-int type, but on machines with one, which
is most, we are rid of the bizarre boundary behavior at the edges of
the 32-bit-time_t range (1901 and 2038).  The system will now treat
times over the full supported timestamp range as being in your local
time zone.  It may seem a little bizarre to consider that times in
4000 BC are PST or EST, but this is surely at least as reasonable as
propagating Gregorian calendar rules back that far.

I did not modify the format of the zic timezone database files, which
means that for the moment the system will not know about daylight-savings
periods outside the range 1901-2038.  Given the way the files are set up,
it's not a simple decision like 'widen to 64 bits'; we have to actually
think about the range of years that need to be supported.  We should
probably inquire what the plans of the upstream zic people are before
making any decisions of our own.
2004-06-03 02:08:07 +00:00
..
acl.h Align GRANT/REVOKE behavior more closely with the SQL spec, per discussion 2004-06-01 21:49:23 +00:00
array.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
ascii.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
builtins.h Per previous discussions, here are two functions to send INT and TERM 2004-06-02 21:29:29 +00:00
cash.h Create a 'type cache' that keeps track of the data needed for any particular 2003-08-17 19:58:06 +00:00
catcache.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
date.h Create crosstype comparison operators for date vs. timestamp and date 2004-02-14 20:16:18 +00:00
datetime.h Adjust our timezone library to use pg_time_t (typedef'd as int64) in 2004-06-03 02:08:07 +00:00
datum.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
dynahash.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
dynamic_loader.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
elog.h Remove 'syslog' GUC variable, and add more logical 'log_destination' 2004-04-05 03:02:11 +00:00
errcodes.h Align GRANT/REVOKE behavior more closely with the SQL spec, per discussion 2004-06-01 21:49:23 +00:00
fmgrtab.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
formatting.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
geo_decls.h *) inet_(client|server)_(addr|port)() and necessary documentation for 2004-05-26 18:35:51 +00:00
guc.h Code review for EXEC_BACKEND changes. Reduce the number of #ifdefs by 2004-05-28 05:13:32 +00:00
guc_tables.h The patch adresses the TODO list item "Allow external interfaces to 2004-05-26 15:07:41 +00:00
help_config.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
hsearch.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
inet.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
int8.h Add function (actually an int4 and an int8 version) that generates 2004-02-03 08:29:57 +00:00
inval.h Make ALTER COLUMN TYPE preserve clustered status for indexes it doesn't 2004-05-06 16:10:57 +00:00
logtape.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
lsyscache.h Planner failed to be smart about binary-compatible expressions in pathkeys 2003-12-03 17:45:10 +00:00
memutils.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
nabstime.h Adjust our timezone library to use pg_time_t (typedef'd as int64) in 2004-06-03 02:08:07 +00:00
numeric.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
palloc.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
pg_crc.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
pg_locale.h Repair problem identified by Olivier Prenant: ALTER DATABASE SET search_path 2004-01-19 19:04:40 +00:00
pg_lzcompress.h $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
portal.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
ps_status.h Move responsibility for copying argv[] array into ps_status.c, where it 2004-02-22 21:26:55 +00:00
rel.h Get rid of rd_nblocks field in relcache entries. Turns out this was 2004-05-08 19:09:25 +00:00
relcache.h Restructure smgr API as per recent proposal. smgr no longer depends on 2004-02-10 01:55:27 +00:00
selfuncs.h Make use of statistics on index expressions. There are still some 2004-02-17 00:52:53 +00:00
syscache.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
timestamp.h Integrate src/timezone library for all platforms. There is more we can 2004-05-21 05:08:06 +00:00
tqual.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
tuplesort.h Rename SortMem and VacuumMem to work_mem and maintenance_work_mem. 2004-02-03 17:34:04 +00:00
tuplestore.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
typcache.h Replace TupleTableSlot convention for whole-row variables and function 2004-04-01 21:28:47 +00:00
varbit.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00