postgresql/src
Tom Lane 10dedbf709 Make bit/varbit substring() treat any negative length as meaning "all the rest
of the string".  The previous coding treated only -1 that way, and would
produce an invalid result value for other negative values.

We ought to fix it so that 2-parameter bit substring() is a different C
function and the 3-parameter form throws error for negative length, but
that takes a pg_proc change which is impractical in the back branches;
and in any case somebody might be relying on -1 working this way.
So just do this as a back-patchable fix.
2010-01-07 19:53:47 +00:00
..
backend Make bit/varbit substring() treat any negative length as meaning "all the rest 2010-01-07 19:53:47 +00:00
bin Translation updates 2009-12-08 21:54:26 +00:00
corba Convert files from DOS format to normal text. 2000-12-03 14:43:59 +00:00
include tag 7.4.27 2009-12-10 03:26:04 +00:00
interfaces tag 7.4.27 2009-12-10 03:26:04 +00:00
makefiles Use -Wl for linker switches on freebsd --- back-port of an 8.0 change. 2007-02-03 17:27:11 +00:00
pl Adjust recent PERL_SYS_INIT3 call to avoid platforms where it might fail, and to remove compilation warning. Backpatch the release 7.4 2009-06-05 20:33:59 +00:00
port Add port support for unsetenv() in back branches. Needed for locale 2006-01-05 00:51:25 +00:00
template OK, another try at Darwin threads. 2004-07-08 18:25:22 +00:00
test Fix the handling of sub-SELECTs appearing in the arguments of an outer-level 2009-04-25 16:45:34 +00:00
tools Create a script to handle stamping release version numbers into files, 2008-06-10 18:09:26 +00:00
tutorial Change \' to '', for SQL standards compliance. Backpatch to 7.3, 7.4, 2006-05-21 19:57:07 +00:00
utils Re-add Win32 missing files, I think. 2002-11-02 02:00:35 +00:00
bcc32.mak Attached is a patch to provide makefiles, etc. to allow the compilation 2002-12-30 21:07:26 +00:00
DEVELOPERS just testing a script... 1999-07-30 03:45:57 +00:00
Makefile Assorted fixes for Cygwin: 2002-09-05 18:28:46 +00:00
Makefile.global.in Supress ecpg thread test if configure didn't enable threads. Fix 2003-12-19 23:29:29 +00:00
Makefile.shlib Fix out-of-order inclusion of -L switches from LDFLAGS on AIX and HPUX. 2005-12-03 20:17:00 +00:00
nls-global.mk Run distprep target before creating list of files that contain translatable 2003-09-14 22:40:38 +00:00
win32.mak Remove all traces of multibyte and locale options. Clean up comments 2002-09-03 21:45:44 +00:00