postgresql/src/backend/utils/adt
Bruce Momjian fd071bd478 Fix to_char for 1 BC. Previously it returned 1 AD.
Fix to_char(year) for BC dates.  Previously it returned one less than
the current year.

Add documentation mentioning that there is no 0 AD.
2004-03-30 15:53:18 +00:00
..
acl.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
array_userfuncs.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
arrayfuncs.c More janitorial work: remove the explicit casting of NULL literals to a 2004-01-07 18:56:30 +00:00
arrayutils.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
ascii.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
bool.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
cash.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
char.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
date.c Create crosstype comparison operators for date vs. timestamp and date 2004-02-14 20:16:18 +00:00
datetime.c Fix to_char for 1 BC. Previously it returned 1 AD. 2004-03-30 15:53:18 +00:00
datum.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
encode.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
float.c Localize our dependencies on the way to create NAN or INFINITY. 2004-03-15 03:29:22 +00:00
format_type.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
formatting.c Fix to_char for 1 BC. Previously it returned 1 AD. 2004-03-30 15:53:18 +00:00
geo_ops.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
geo_selfuncs.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
inet_net_ntop.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
inet_net_pton.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
int8.c Revise int2/int4/int8/float4/float8 input routines to allow for 2004-03-11 02:11:14 +00:00
int.c Add function (actually an int4 and an int8 version) that generates 2004-02-03 08:29:57 +00:00
like_match.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
like.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
lockfuncs.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
mac.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
misc.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
nabstime.c Standardize output buffer size and display format for strftime; 2004-03-22 15:34:22 +00:00
name.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
network.c netmask() and hostmask() functions should return maximum-length masklen, 2003-12-01 18:50:19 +00:00
not_in.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
numeric.c Localize our dependencies on the way to create NAN or INFINITY. 2004-03-15 03:29:22 +00:00
numutils.c Revise int2/int4/int8/float4/float8 input routines to allow for 2004-03-11 02:11:14 +00:00
oid.c Revise int2/int4/int8/float4/float8 input routines to allow for 2004-03-11 02:11:14 +00:00
oracle_compat.c Fix a few omissions in the initcap() documentation & source code 2004-02-27 03:59:23 +00:00
pg_locale.c Repair problem identified by Olivier Prenant: ALTER DATABASE SET search_path 2004-01-19 19:04:40 +00:00
pg_lzcompress.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
pgstatfuncs.c Added hints about the reason, why the command string in 2004-02-12 01:44:22 +00:00
pseudotypes.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
quote.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
regexp.c pwd 2004-02-03 17:52:55 +00:00
regproc.c Micro-opt: replace calls like 2004-01-31 05:09:41 +00:00
ri_triggers.c Rename SortMem and VacuumMem to work_mem and maintenance_work_mem. 2004-02-03 17:34:04 +00:00
ruleutils.c Reimplement CASE val WHEN compval1 THEN ... WHEN compval2 THEN ... END 2004-03-17 20:48:43 +00:00
selfuncs.c genericcostestimate() neglected to include qual startup cost in 2004-02-27 21:44:34 +00:00
sets.c Apply the core parts of Dennis Bjorklund's patch to allow function 2004-01-06 23:55:19 +00:00
tid.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
timestamp.c Fix to_char for 1 BC. Previously it returned 1 AD. 2004-03-30 15:53:18 +00:00
varbit.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
varchar.c Make length() disregard trailing spaces in char(n) values, per discussion 2004-02-01 06:27:48 +00:00
varlena.c Implement a solution to the 'Turkish locale downcases I incorrectly' 2004-02-21 00:34:53 +00:00
version.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00
xid.c $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00