postgresql/src/backend
Robert Haas 249cf070e3 Create and use wait events for read, write, and fsync operations.
Previous commits, notably 53be0b1add and
6f3bd98ebf, made it possible to see from
pg_stat_activity when a backend was stuck waiting for another backend,
but it's also fairly common for a backend to be stuck waiting for an
I/O.  Add wait events for those operations, too.

Rushabh Lathia, with further hacking by me.  Reviewed and tested by
Michael Paquier, Amit Kapila, Rajkumar Raghuwanshi, and Rahila Syed.

Discussion: http://postgr.es/m/CAGPqQf0LsYHXREPAZqYGVkDqHSyjf=KsD=k0GTVPAuzyThh-VQ@mail.gmail.com
2017-03-18 07:43:01 -04:00
..
access Create and use wait events for read, write, and fsync operations. 2017-03-18 07:43:01 -04:00
bootstrap Move atooid() definition to a central place 2017-03-01 11:55:28 -05:00
catalog Add pg_ls_logdir() and pg_ls_waldir() functions. 2017-03-16 15:05:02 -04:00
commands Rename "pg_clog" directory to "pg_xact". 2017-03-17 09:48:38 -04:00
executor Spelling fixes 2017-03-14 12:58:39 -04:00
foreign Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
lib Fix overflow check in StringInfo; add missing casts 2017-01-10 11:41:13 -03:00
libpq Allow plaintext 'password' authentication when user has a SCRAM verifier. 2017-03-17 11:33:27 +02:00
main Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nodes Avoid access to uninitialized memory in shared tidbitmap iteration. 2017-03-16 15:09:46 -04:00
optimizer Fix failure to use clamp_row_est() for parallel joins. 2017-03-15 12:28:54 -04:00
parser Allow referring to functions without arguments when unique 2017-03-14 23:55:19 -04:00
po Translation updates 2016-08-08 11:08:00 -04:00
port Fix WaitEventSetWait() to handle write-ready waits properly on Windows. 2017-03-17 14:58:06 -04:00
postmaster Create and use wait events for read, write, and fsync operations. 2017-03-18 07:43:01 -04:00
regex Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
replication Create and use wait events for read, write, and fsync operations. 2017-03-18 07:43:01 -04:00
rewrite Support XMLTABLE query expression 2017-03-08 12:40:26 -03:00
snowball Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
storage Create and use wait events for read, write, and fsync operations. 2017-03-18 07:43:01 -04:00
tcop Disallow CREATE/DROP SUBSCRIPTION in transaction block 2017-03-03 23:29:13 -05:00
tsearch Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
utils Create and use wait events for read, write, and fsync operations. 2017-03-18 07:43:01 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk
Makefile Fix parallel make issue with new fmgrprotos.h 2017-01-23 15:36:27 -05:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00