postgresql/src
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
..
backend Create and use wait events for read, write, and fsync operations. 2017-03-18 07:43:01 -04:00
bin Rename "pg_clog" directory to "pg_xact". 2017-03-17 09:48:38 -04:00
common A collection of small fixes for the SCRAM patch. 2017-03-07 19:00:22 +02:00
fe_utils Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
include Create and use wait events for read, write, and fsync operations. 2017-03-18 07:43:01 -04:00
interfaces Fix schedule of ecpg test files to only try two-phase commit test when possible. 2017-03-18 10:35:14 +01:00
makefiles Try to fix non-MSVC Windows builds in the wake of logical replication. 2017-01-20 12:51:31 -05:00
pl Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
port Fix and simplify check for whether we're running as Windows service. 2017-03-17 11:14:01 +02:00
template Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
test Repair test for vacuum reltuples fix. 2017-03-17 14:35:54 +00:00
timezone Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
tools Fix hard-coded relkind constants in assorted other files. 2017-03-09 23:36:52 -05:00
tutorial Recommend wrappers of PG_DETOAST_DATUM_PACKED(). 2017-03-12 19:35:33 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Remove redundant coverage target 2017-02-17 08:56:57 -05:00
Makefile.global.in Specify bindir in pg_isolation_regress_installcheck. 2017-03-15 19:03:29 -07:00
Makefile.shlib Fix typos in comments. 2017-02-06 11:33:58 +02:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00