postgresql/src/backend/utils
Robert Haas f49b2eab23 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:44 -04:00
..
adt Add overflow checks to int4 and int8 versions of generate_series(). 2011-06-17 14:32:44 -04:00
cache Avoid potential deadlock in InitCatCachePhase2(). 2011-03-22 13:01:12 -04:00
error Work around a subtle portability problem in use of printf %s format. 2010-05-08 16:40:03 +00:00
fmgr Prevent indirect security attacks via changing session-local state within 2009-12-09 21:58:04 +00:00
hash Update copyright for 2009. 2009-01-01 17:24:05 +00:00
init Arrange to fsync the contents of lockfiles (both postmaster.pid and the 2010-08-16 17:33:01 +00:00
mb Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
misc Force default wal_sync_method to be fdatasync on Linux. 2010-12-08 20:01:19 -05:00
mmgr Oops, in the previous fix to prevent a cursor that's being used in a FOR 2010-07-13 09:02:40 +00:00
resowner Fix bug in temporary file management with subtransactions. A cursor opened 2009-12-03 11:03:35 +00:00
sort Fix failure to account for memory used by tuplestore_putvalues(). 2011-06-15 14:06:01 -04:00
time Remove special case for xmin == xmax in HeapTupleSatisfiesVacuum(). 2011-04-29 16:29:56 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:08 +02:00
Gen_dummy_probes.sed Update copyright for 2009. 2009-01-01 17:24:05 +00:00
Gen_fmgrtab.pl Update copyright for 2009. 2009-01-01 17:24:05 +00:00
Gen_fmgrtab.sh Update copyright for 2009. 2009-01-01 17:24:05 +00:00
Makefile Add a few more DTrace probes to the backend. 2008-08-01 13:16:09 +00:00
probes.d Revert DTrace patch from Robert Lor 2009-04-02 20:59:10 +00:00