]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Mark bpchareq not hashjoinable, since it strips trailing blanks
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Sep 1999 21:16:20 +0000 (21:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 6 Sep 1999 21:16:20 +0000 (21:16 +0000)
commitd2f7d1f34658111b513313962de3e52c11201644
tree8668f6380e921dc34eed1e52547409bcc930387c
parent22fe3d4b0425fee1af0147a57e05aad70c3badd7
Mark bpchareq not hashjoinable, since it strips trailing blanks
before comparison; if fields being joined are different widths then hashing
will yield wrong answer.  Also, remove hashjoinable mark from all uses of
array_eq, because array structures may have padding bytes between elements
and the pad bytes are of uncertain content.  This could be revisited if
array code is cleaned up.
Modify opr_sanity regress test to complain if array_eq operator is marked
hashjoinable.
src/include/catalog/pg_operator.h
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql