]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix misleading comment for GetOperatorFromCompareType
authorDavid Rowley <drowley@postgresql.org>
Tue, 6 Jan 2026 02:16:56 +0000 (15:16 +1300)
committerDavid Rowley <drowley@postgresql.org>
Tue, 6 Jan 2026 02:16:56 +0000 (15:16 +1300)
commit9ba5d40e9037ae24c2f4f9a5f3d08a619e1185d6
treecfbce8e4cfe178ab7c1b2e4231d957e9e8033a1b
parentb86c2b712b503cdcdf7f801ffd0ef97066204504
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 <pj@illuminatedcomputing.com>
Discussion: https://postgr.es/m/CA+renyXOrjLacP_nhqEQUf2W+ZCoY2q5kpQCfG05vQVYzr8b9w@mail.gmail.com
Backpatch-through: 18
src/backend/commands/indexcmds.c