postgresql/src/backend
Thomas Munro d67dae036b Don't count zero-filled buffers as 'read' in EXPLAIN.
If you extend a relation, it should count as a block written, not
read (we write a zero-filled block).  If you ask for a zero-filled
buffer, it shouldn't be counted as read or written.

Later we might consider counting zero-filled buffers with a separate
counter, if they become more common due to future work.

Author: Thomas Munro
Reviewed-by: Haribabu Kommi, Kyotaro Horiguchi, David Rowley
Discussion: https://postgr.es/m/CAEepm%3D3JytB3KPpvSwXzkY%2Bdwc5zC8P8Lk7Nedkoci81_0E9rA%40mail.gmail.com
2018-11-28 11:58:10 +13:00
..
access Integrate recovery.conf into postgresql.conf 2018-11-25 16:33:40 +01:00
bootstrap Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
catalog Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
commands Integrate recovery.conf into postgresql.conf 2018-11-25 16:33:40 +01:00
executor Add WL_EXIT_ON_PM_DEATH pseudo-event. 2018-11-23 20:46:34 +13:00
foreign Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
jit Fix jit compilation bug on wide tables. 2018-11-27 10:07:03 -08:00
lib Rename rbtree.c functions to use "rbt" prefix not "rb" prefix. 2018-11-06 13:25:24 -05:00
libpq Fix assertion failure for SSL connections. 2018-11-25 18:34:58 +13:00
main Update copyright for 2018 2018-01-02 23:30:12 -05:00
nodes Revise attribute handling code on partition creation 2018-11-08 16:22:09 -03:00
optimizer Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
parser Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
partitioning Reduce unnecessary list construction in RelationBuildPartitionDesc. 2018-11-19 12:10:41 -05:00
po Translation updates 2018-06-25 12:37:18 +02:00
port Fix spelling errors and typos in comments 2018-11-02 13:56:52 +01:00
postmaster Silence compiler warnings 2018-11-23 13:01:05 -03:00
regex Clean up warnings from -Wimplicit-fallthrough. 2018-05-01 19:35:08 -04:00
replication Add WL_EXIT_ON_PM_DEATH pseudo-event. 2018-11-23 20:46:34 +13:00
rewrite Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
snowball Sync our Snowball stemmer dictionaries with current upstream. 2018-09-24 17:29:38 -04:00
statistics Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
storage Don't count zero-filled buffers as 'read' in EXPLAIN. 2018-11-28 11:58:10 +13:00
tcop Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
tsearch Remove WITH OIDS support, change oid catalog column visibility. 2018-11-20 16:00:17 -08:00
utils Integrate recovery.conf into postgresql.conf 2018-11-25 16:33:40 +01:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Integrate recovery.conf into postgresql.conf 2018-11-25 16:33:40 +01:00
nls.mk Translation updates 2018-06-25 12:37:18 +02:00