postgresql/src/backend
Tom Lane a64ca63e59 Use WaitLatch, not pg_usleep, for delaying in pg_sleep().
This avoids platform-dependent behavior wherein pg_sleep() might fail to be
interrupted by statement timeout, query cancel, SIGTERM, etc.  Also, since
there's no reason to wake up once a second any more, we can reduce the
power consumption of a sleeping backend a tad.

Back-patch to 9.3, since use of SA_RESTART for SIGALRM makes this a bigger
issue than it used to be.
2013-06-15 16:23:24 -04:00
..
access Avoid deadlocks during insertion into SP-GiST indexes. 2013-06-14 14:26:43 -04:00
bootstrap Put back allow_system_table_mods check in heap_create(). 2013-06-03 17:22:31 +03:00
catalog Improve updatability checking for views and foreign tables. 2013-06-12 17:53:33 -04:00
commands Only install a portal's ResourceOwner if it actually has one. 2013-06-13 13:12:49 -04:00
executor Improve updatability checking for views and foreign tables. 2013-06-12 17:53:33 -04:00
foreign Arrange to cache FdwRoutine structs in foreign tables' relcache entries. 2013-03-06 23:48:09 -05:00
lib pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
libpq Avoid reading below the start of a stack variable in tokenize_file(). 2013-06-12 19:50:52 -04:00
main pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
nodes Postpone creation of pathkeys lists to fix bug #8049. 2013-04-29 14:50:03 -04:00
optimizer Prevent pushing down WHERE clauses into unsafe UNION/INTERSECT nests. 2013-06-05 23:45:11 -04:00
parser Remove unnecessary restrictions about RowExprs in transformAExprIn(). 2013-06-09 18:39:20 -04:00
po Back out some recent translation updates. 2013-05-06 12:28:13 -04:00
port Use SA_RESTART for all signals, including SIGALRM. 2013-06-15 15:39:51 -04:00
postmaster pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
regex pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
replication Minor spell checking 2013-05-30 20:56:58 -04:00
rewrite Improve updatability checking for views and foreign tables. 2013-06-12 17:53:33 -04:00
snowball Update copyrights for 2013 2013-01-01 17:15:01 -05:00
storage Refactor checksumming code to make it easier to use externally. 2013-06-13 22:35:56 -04:00
tcop Only install a portal's ResourceOwner if it actually has one. 2013-06-13 13:12:49 -04:00
tsearch pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
utils Use WaitLatch, not pg_usleep, for delaying in pg_sleep(). 2013-06-15 16:23:24 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Call check_keywords.pl in maintainer-check 2012-02-27 13:53:12 +02:00
Makefile Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
nls.mk Translation updates 2013-05-05 22:34:23 -04:00