docs: Only first instance of a PREPARE parameter sets data type
authorBruce Momjian <bruce@momjian.us>
Thu, 9 Aug 2018 14:13:15 +0000 (10:13 -0400)
committerBruce Momjian <bruce@momjian.us>
Thu, 9 Aug 2018 14:13:15 +0000 (10:13 -0400)
commitb284262e40424daa1c546ad76f365b31304d7944
tree7739483497032d7484cb8ad21967bb6b0c62053b
parent31380bc7c204e7cfa9c9e1c62947909e2b38577c
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