Fix misleading comment for GetOperatorFromCompareType

The comment claimed *strat got set to InvalidStrategy when the function
lookup fails.  This isn't true; an ERROR is raised when that happens.

Author: Paul A Jungwirth <[email protected]>
Reviewed-by: Neil Chen <[email protected]>
Discussion: 
https://postgr.es/m/ca+renyxorjlacp_nhqequf2w+zcoy2q5kpqcfg05vqvyzr8...@mail.gmail.com
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e8d4e94a47ea0f02e180208ec7daf03bdd2f751e

Modified Files
--------------
src/backend/commands/indexcmds.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Reply via email to