postgresql/src/backend/utils/adt
Tom Lane 41f4a0ab78 Fix to_date's handling of year 519.
A thinko in commit 029dfdf115 caused the year
519 to be handled differently from either adjacent year, which was not the
intention AFAICS.  Report and diagnosis by Marc Cousin.

In passing, remove redundant re-tests of year value.
2012-07-02 11:35:35 -04:00
..
acl.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
array_selfuncs.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
array_typanalyze.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
array_userfuncs.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
arrayfuncs.c Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
arrayutils.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
ascii.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
bool.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
cash.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
char.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
date.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
datetime.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
datum.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
dbsize.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
domains.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
encode.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
enum.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
float.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
format_type.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
formatting.c Fix to_date's handling of year 519. 2012-07-02 11:35:35 -04:00
genfile.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
geo_ops.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
geo_selfuncs.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
inet_cidr_ntop.c When reporting the server as not responding, if the hostname was 2010-11-24 17:04:19 -05:00
inet_net_pton.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
int8.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
int.c Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
json.c Remove inappropriate semicolons after function definitions. 2012-06-30 17:29:39 -04:00
like_match.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
like.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
lockfuncs.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
mac.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
Makefile Collect and use element-frequency statistics for arrays. 2012-03-03 20:20:57 -05:00
misc.c Allow pg_terminate_backend() to be used on backends with matching role. 2012-06-26 16:16:52 -04:00
nabstime.c Improve EncodeDateTime and EncodeTimeOnly APIs 2012-03-14 23:03:34 +02:00
name.c Fix string truncation to be multibyte-aware in text_name and bpchar_name. 2012-05-25 17:34:51 -04:00
network.c Revert the behavior of inet/cidr functions to not unpack the arguments. 2011-12-12 10:10:53 +02:00
numeric.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
numutils.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
oid.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
oracle_compat.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pg_locale.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
pg_lzcompress.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pgstatfuncs.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
pseudotypes.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
quote.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
rangetypes_gist.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
rangetypes.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
regexp.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
regproc.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
ri_triggers.c Remove incomplete/incorrect support for zero-column foreign keys. 2012-06-20 20:15:02 -04:00
rowtypes.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
ruleutils.c Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
selfuncs.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
tid.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
timestamp.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
trigfuncs.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tsginidx.c Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
tsgistidx.c Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
tsquery_cleanup.c Lots of doc corrections. 2012-04-23 22:43:09 -04:00
tsquery_gist.c Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
tsquery_op.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tsquery_rewrite.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tsquery_util.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
tsquery.c Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
tsrank.c Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
tsvector_op.c Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
tsvector_parser.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
tsvector.c Replace int2/int4 in C code with int16/int32 2012-06-25 01:51:46 +03:00
txid.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
uuid.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
varbit.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
varchar.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
varlena.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
version.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
windowfuncs.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
xid.c Remove extraneous #include "storage/proc.h" 2012-05-11 14:46:46 +01:00
xml.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00