postgresql/src/backend
Michael Paquier 4fea343493 Fix variable initialization when using buffering build with GiST
This can cause valgrind to complain, as the flag marking a buffer as a
temporary copy was not getting initialized.

While on it, fill in with zeros newly-created buffer pages.  This does
not matter when loading a block from a temporary file, but it makes the
push of an index tuple into a new buffer page safer.

This has been introduced by 1d27dcf, so backpatch all the way down to
9.4.

Author: Alexander Lakhin
Discussion: https://postgr.es/m/15899-0d24fb273b3dd90c@postgresql.org
Backpatch-through: 9.4
2019-07-10 15:15:11 +09:00
..
access Fix variable initialization when using buffering build with GiST 2019-07-10 15:15:11 +09:00
bootstrap Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
catalog Fix ALTER COLUMN TYPE failure with a partial exclusion constraint. 2019-06-12 12:29:42 -04:00
commands Update reference to sampling algorithm in analyze.c 2019-06-27 18:15:05 +02:00
executor Pass QueryEnvironment down to EvalPlanQual's EState. 2019-07-10 10:16:02 +12:00
foreign Abstract logic to allow for multiple kinds of child rels. 2017-04-03 22:41:31 -04:00
lib Rename rbtree.c functions to use "rbt" prefix not "rb" prefix. 2018-11-06 13:25:24 -05:00
libpq Fix buffer overflow when parsing SCRAM verifiers in backend 2019-06-17 21:48:34 +09:00
main Install Windows crash dump handler before all else. 2017-11-12 14:31:04 -08:00
nodes Add stack depth checks to key recursive functions in backend/nodes/*.c. 2018-12-10 11:12:43 -05:00
optimizer Don't remove surplus columns from GROUP BY for inheritance parents 2019-07-03 23:46:06 +12:00
parser Fix thinkos in LookupFuncName() for function name lookups 2019-06-25 11:16:04 +09:00
po Translation updates 2019-06-17 15:32:45 +02:00
port Cope with EINVAL and EIDRM shmat() failures in PGSharedMemoryAttach. 2019-05-10 14:56:41 -04:00
postmaster Rearrange pgstat_bestart() to avoid failures within its critical section. 2019-05-11 21:27:13 -04:00
regex Fix misoptimization of "{1,1}" quantifiers in regular expressions. 2019-05-12 18:53:41 -04:00
replication In walreceiver, don't try to do ereport() in a signal handler. 2019-06-12 17:29:48 -04:00
rewrite Perform RLS subquery checks as the right user when going via a view. 2019-04-02 08:19:09 +01:00
snowball Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
statistics Make error logging in extended statistics more consistent 2019-05-30 17:06:35 +02:00
storage Remove obsolete comments about sempahores from proc.c. 2019-06-21 10:57:55 +12:00
tcop Fix potential catalog corruption with temporary identity columns 2019-04-29 08:49:22 +02:00
tsearch Make ts_locale.c's character-type functions cope with UTF-16. 2018-11-03 13:56:10 -04:00
utils Don't read fields of a misaligned ExpandedObjectHeader or AnyArrayType. 2019-06-30 17:34:20 -07:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Add ICU_CFLAGS to global CPPFLAGS 2017-06-12 15:57:22 -04:00
Makefile Fix make rules that generate multiple output files. 2018-03-23 13:45:38 -04:00
nls.mk Translation updates 2018-05-07 11:59:42 -04:00