postgres/src/backend/utils
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
..
adt Add pg_ls_logdir() and pg_ls_waldir() functions. 2017-03-16 15:05:02 -04:00
cache Create and use wait events for read, write, and fsync operations. 2017-03-18 07:43:01 -04:00
error Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
fmgr Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
hash Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
init Create and use wait events for read, write, and fsync operations. 2017-03-18 07:43:01 -04:00
mb Include array size in forward declaration. 2017-03-13 21:53:38 +02:00
misc Spelling fixes in code comments 2017-03-14 12:58:39 -04:00
mmgr Suppress compiler warning in slab.c. 2017-03-08 16:19:37 -05:00
resowner Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
sort Don't create "holes" in BufFiles, in the new logtape code. 2017-02-01 12:17:38 +02:00
time Rename "pg_clog" directory to "pg_xact". 2017-03-17 09:48:38 -04:00
.gitignore Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
errcodes.txt Use SQL standard error code for nextval 2017-03-09 10:56:44 -05:00
Gen_dummy_probes.pl Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
Gen_dummy_probes.sed Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
Gen_fmgrtab.pl Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
generate-errcodes.pl Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
Makefile Fix parallel make issue with new fmgrprotos.h 2017-01-23 15:36:27 -05:00
probes.d Rename dtrace probes for ongoing xlog -> wal conversion. 2017-02-09 16:40:19 -05:00