docs: Only first instance of a PREPARE parameter sets data type
authorBruce Momjian <[email protected]>
Thu, 9 Aug 2018 14:13:15 +0000 (10:13 -0400)
committerBruce Momjian <[email protected]>
Thu, 9 Aug 2018 14:13:15 +0000 (10:13 -0400)
commitda1a5da1e4216af22cfa461292f0031cb254cab9
tree2e9de13c63e33b538404f09634e668477c252477
parentf85537a88dda4aa015f9a1b4a43189395d36b328
docs:  Only first instance of a PREPARE parameter sets data type

If the first reference to $1 is "($1 = col) or ($1 is null)", the data
type can be determined, but not for "($1 is null) or ($1 = col)".  This
change documents this.

Reported-by: Morgan Owens
Discussion: https://postgr.es/m/153233728858.1404.15268121695358514937@wrigleys.postgresql.org

Backpatch-through: 9.3
doc/src/sgml/ref/prepare.sgml