doc: Add description about re-analysis and re-planning of a prepared statement.
authorFujii Masao <fujii@postgresql.org>
Thu, 26 Nov 2020 07:17:10 +0000 (16:17 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 26 Nov 2020 07:17:10 +0000 (16:17 +0900)
commit4a36eab79a193700b7b65baf6c09c795c90c02c6
treee664c978d8b287ee3b23d4495130dde02965f54e
parentf3a8f73ec274bf8cc6066ea315f1a5a022214b02
doc: Add description about re-analysis and re-planning of a prepared statement.

A prepared statement is re-analyzed and re-planned whenever database
objects used in the statement have undergone definitional changes or
the planner statistics of them have been updated. The former has been
documented from before, but the latter was not previously. This commit
adds the description about the latter case into the docs.

Author: Atsushi Torikoshi
Reviewed-by: Andy Fan, Fujii Masao
Discussion: https://postgr.es/m/3ac82f4817c9fe274a905c8a38d87bd9@oss.nttdata.com
doc/src/sgml/ref/prepare.sgml