1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-20 00:42:27 +03:00
Tom Lane e13ac5586c Avoid possible crash in contrib/bloom's blendscan().
It's possible to begin and end an indexscan without ever calling
amrescan.  contrib/bloom, unlike every other index AM, allocated
its "scan->opaque" storage at amrescan time, and thus would crash
in amendscan if amrescan hadn't been called.  We could fix this
by putting in a null-pointer check in blendscan, but I see no very
good reason why contrib/bloom should march to its own drummer in
this respect.  Let's move that initialization to blbeginscan
instead.  Per report from Jeff Janes.
2016-05-17 17:01:18 -04:00
..
2016-04-01 16:42:24 +03:00
2016-04-01 16:42:24 +03:00
2016-04-01 16:42:24 +03:00
2016-04-01 16:42:24 +03:00
2016-04-01 16:42:24 +03:00
2016-04-12 18:03:01 +03:00
2016-04-28 16:39:25 +03:00
2016-04-01 16:42:24 +03:00
2016-04-01 16:42:24 +03:00