postgresql/src/backend
Tom Lane 6ac7facdd3 Improve signal-handler lockout mechanism in timeout.c.
Rather than doing a fairly-expensive setitimer() call to prevent interrupts
from happening, let's just invent a simple boolean flag that the signal
handler is required to check.  This is not only faster but considerably
more robust than before, since the previous code effectively assumed that
only ITIMER_REAL events would ever fire the SIGALRM handler, which is
obviously something that can be broken easily by third-party code.

Zoltán Böszörményi and Tom Lane
2013-03-17 22:42:19 -04:00
..
access Move pqsignal() to libpgport. 2013-03-17 12:06:42 -04:00
bootstrap Improve handling of ereport(ERROR) and elog(ERROR). 2013-01-13 18:40:09 -05:00
catalog Code beautification for object-access hook machinery. 2013-03-06 20:53:25 -05:00
commands Allow default expressions to be attached to columns of foreign tables. 2013-03-12 17:37:07 -04:00
executor Support writable foreign tables. 2013-03-10 14:16:02 -04:00
foreign Arrange to cache FdwRoutine structs in foreign tables' relcache entries. 2013-03-06 23:48:09 -05:00
lib Update copyrights for 2013 2013-01-01 17:15:01 -05:00
libpq Move pqsignal() to libpgport. 2013-03-17 12:06:42 -04:00
main Move pqsignal() to libpgport. 2013-03-17 12:06:42 -04:00
nodes Support writable foreign tables. 2013-03-10 14:16:02 -04:00
optimizer Avoid inserting no-op Limit plan nodes. 2013-03-14 15:11:05 -04:00
parser Change the way UESCAPE is lexed, to reduce the size of the flex tables. 2013-03-14 19:04:43 +02:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Move pqsignal() to libpgport. 2013-03-17 12:06:42 -04:00
postmaster Add lock_timeout configuration parameter. 2013-03-16 23:22:57 -04:00
regex Fix infinite-loop risk in fixempties() stage of regex compilation. 2013-03-07 11:51:03 -05:00
replication Move pqsignal() to libpgport. 2013-03-17 12:06:42 -04:00
rewrite Revert unnecessary change in MV call to checkRuleResultList(). 2013-03-14 13:59:52 -05:00
snowball Update copyrights for 2013 2013-01-01 17:15:01 -05:00
storage Add lock_timeout configuration parameter. 2013-03-16 23:22:57 -04:00
tcop Add lock_timeout configuration parameter. 2013-03-16 23:22:57 -04:00
tsearch Update copyrights for 2013 2013-01-01 17:15:01 -05:00
utils Improve signal-handler lockout mechanism in timeout.c. 2013-03-17 22:42:19 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
Makefile Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
common.mk Call check_keywords.pl in maintainer-check 2012-02-27 13:53:12 +02:00
nls.mk Split out XLog reading as an independent facility 2013-01-16 16:12:53 -03:00