postgresql/src/backend/utils
Robert Haas 51328d56a4 Add overflow checks to int4 and int8 versions of generate_series().
The previous code went into an infinite loop after overflow.  In fact,
an overflow is not really an error; it just means that the current
value is the last one we need to return.  So, just arrange to stop
immediately when overflow is detected.

Back-patch all the way.
2011-06-17 14:32:32 -04:00
..
adt Add overflow checks to int4 and int8 versions of generate_series(). 2011-06-17 14:32:32 -04:00
cache Avoid potential deadlock in InitCatCachePhase2(). 2011-03-22 13:01:04 -04:00
error Avoid palloc before CurrentMemoryContext is set up on win32 2011-04-01 20:00:34 +02:00
fmgr pgindent run for 9.0 2010-02-26 02:01:40 +00:00
hash pgindent run for 9.0 2010-02-26 02:01:40 +00:00
init Process options from the startup packed in walsender. Only few options 2010-09-13 09:00:35 +00:00
mb Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
misc Force default wal_sync_method to be fdatasync on Linux. 2010-12-08 20:01:14 -05:00
mmgr Oops, in the previous fix to prevent a cursor that's being used in a FOR 2010-07-13 09:02:35 +00:00
resowner Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
sort Fix failure to account for memory used by tuplestore_putvalues(). 2011-06-15 14:05:49 -04:00
time Remove special case for xmin == xmax in HeapTupleSatisfiesVacuum(). 2011-04-29 16:29:51 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
Gen_dummy_probes.sed Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
Gen_fmgrtab.pl Fix genbki.pl and Gen_fmgrtab.pl to use PID-specific temp file names, 2010-01-05 20:23:32 +00:00
Makefile Get rid of the need for manual maintenance of the initial contents of 2010-01-05 01:06:57 +00:00
probes.d Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00