postgresql/src
Tom Lane 9a8f5729b4 Fix to_timestamp/to_date's handling of consecutive spaces in format string.
When there are consecutive spaces (or other non-format-code characters) in
the format, we should advance over exactly that many characters of input.
The previous coding mistakenly did a "skip whitespace" action between such
characters, possibly allowing more input to be skipped than the user
intended.  We only need to skip whitespace just before an actual field.

This is really a bug fix, but given the minimal number of field complaints
and the risk of breaking applications coded to expect the old behavior,
let's not back-patch it.

Jeevan Chalke
2014-01-20 13:45:51 -05:00
..
backend Fix to_timestamp/to_date's handling of consecutive spaces in format string. 2014-01-20 13:45:51 -05:00
bin Remove support for native krb5 authentication 2014-01-19 17:05:01 +01:00
common Make various variables const (read-only). 2014-01-18 16:04:32 -05:00
include Speed up COPY into tables with DEFAULT nextval() 2014-01-20 17:22:38 +00:00
interfaces Remove support for native krb5 authentication 2014-01-19 17:05:01 +01:00
makefiles Remove leftovers of IRIX port 2013-11-12 06:39:36 -05:00
pl docs: update PL/pgSQL docs about the use of := and = 2014-01-16 16:40:58 -05:00
port Move username lookup functions from /port to /common 2014-01-10 18:03:28 -05:00
template Remove leftovers of IRIX port 2013-11-12 06:39:36 -05:00
test Fix to_timestamp/to_date's handling of consecutive spaces in format string. 2014-01-20 13:45:51 -05:00
timezone Update copyright for 2014 2014-01-07 16:05:30 -05:00
tools Rename msvc build option krb5 to gss 2014-01-19 17:07:15 +01:00
tutorial Update copyright for 2014 2014-01-07 16:05:30 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in build: pass EXTRA_REGRESS_OPTS to secondary regression tests 2013-12-04 10:14:45 -05:00
Makefile.shlib Remove IRIX port. 2013-10-18 08:14:21 -04:00
nls-global.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00