postgresql/src/include/utils
Thomas G. Lockhart 547df0cc85 Support alternate storage scheme of 64-bit integer for date/time types.
Use "--enable-integer-datetimes" in configuration to use this rather
 than the original float8 storage. I would recommend the integer-based
 storage for any platform on which it is available. We perhaps should
 make this the default for the production release.
Change timezone(timestamptz) results to return timestamp rather than
 a character string. Formerly, we didn't have a way to represent
 timestamps with an explicit time zone other than freezing the info into
 a string. Now, we can reasonably omit the explicit time zone from the
 result and return a timestamp with values appropriate for the specified
 time zone. Much cleaner, and if you need the time zone in the result
 you can put it into a character string pretty easily anyway.
Allow fractional seconds in date/time types even for dates prior to 1BC.
Limit timestamp data types to 6 decimal places of precision. Just right
 for a micro-second storage of int8 date/time types, and reduces the
 number of places ad-hoc rounding was occuring for the float8-based types.
Use lookup tables for precision/rounding calculations for timestamp and
 interval types.  Formerly used pow() to calculate the desired value but
 with a more limited range there is no reason to not type in a lookup
 table. Should be *much* better performance, though formerly there were
 some optimizations to help minimize the number of times pow() was called.
Define a HAVE_INT64_TIMESTAMP variable. Based on the configure option
 "--enable-integer-datetimes" and the existing internal INT64_IS_BUSTED.
Add explicit date/interval operators and functions for addition and
 subtraction. Formerly relied on implicit type promotion from date to
 timestamp with time zone.
Change timezone conversion functions for the timetz type from "timetz()"
 to "timezone()". This is consistant with other time zone coersion
 functions for other types.
Bump the catalog version to 200204201.
Fix up regression tests to reflect changes in fractional seconds
 representation for date/times in BC eras.
All regression tests pass on my Linux box.
2002-04-21 19:52:18 +00:00
..
acl.h Restructure AclItem representation so that we can have more than eight 2002-04-21 00:26:44 +00:00
array.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
ascii.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
bit.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
builtins.h Rule names are now unique per-relation, rather than unique globally. 2002-04-18 20:01:11 +00:00
cash.h Use PostgreSQL's standard declaration for a 32-bit integer to define 2001-11-06 16:27:31 +00:00
catcache.h Implement partial-key searching of syscaches, per recent suggestion 2002-04-06 06:59:25 +00:00
date.h Support alternate storage scheme of 64-bit integer for date/time types. 2002-04-21 19:52:18 +00:00
datetime.h Support alternate storage scheme of 64-bit integer for date/time types. 2002-04-21 19:52:18 +00:00
datum.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
dynahash.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
dynamic_loader.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
elog.h Remove --enable-syslog option 2002-04-21 00:22:52 +00:00
exc.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
excid.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
fcache.h Privileges on functions and procedural languages 2002-02-18 23:11:58 +00:00
fmgrtab.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
formatting.h Another pgindent run. Fixes enum indenting, and improves #endif 2001-10-28 06:26:15 +00:00
geo_decls.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
guc.h EXPLAIN output now comes out as a query result, not a NOTICE message. 2002-03-24 04:31:09 +00:00
hsearch.h Code review for improved-hashing patch. Fix some portability issues 2002-03-09 17:35:37 +00:00
inet.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
int8.h Support alternate storage scheme of 64-bit integer for date/time types. 2002-04-21 19:52:18 +00:00
inval.h Catcaches can now store negative entries as well as positive ones, to 2002-03-03 17:47:56 +00:00
logtape.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
lsyscache.h Divide functions into three volatility classes (immutable, stable, and 2002-04-05 00:31:36 +00:00
memutils.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
nabstime.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
numeric.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
palloc.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
pg_crc.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
pg_locale.h Locale support is on by default. The choice of locale is done in initdb 2002-04-03 05:39:33 +00:00
pg_lzcompress.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
portal.h Ensure that a cursor is scanned under the same scanCommandId it was 2002-02-14 15:24:10 +00:00
ps_status.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
rel.h Add tgconstrrelid to stored Trigger structures, make RI trigger functions 2002-04-01 22:36:13 +00:00
relcache.h pg_class has a relnamespace column. You can create and access tables 2002-03-26 19:17:02 +00:00
selfuncs.h Teach planner about the idea that a mergejoin won't necessarily read 2002-03-01 04:09:28 +00:00
sets.h pg_type has a typnamespace column; system now supports creating types 2002-03-29 19:06:29 +00:00
syscache.h Rule names are now unique per-relation, rather than unique globally. 2002-04-18 20:01:11 +00:00
timestamp.h Support alternate storage scheme of 64-bit integer for date/time types. 2002-04-21 19:52:18 +00:00
tqual.h TOAST needs to do at least minimal time-qual checking in order not to 2002-01-16 20:29:02 +00:00
tuplesort.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
tuplestore.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
varbit.h Another pgindent run. Fixes enum indenting, and improves #endif 2001-10-28 06:26:15 +00:00