1. A method comprising: storing, in association with a cursor for a first database statement, in a first bit vector, a first authorization context that indicates a first plurality of authorization results, wherein each authorization result in the first plurality of authorization results corresponds to a different data realm of a plurality of data realms; wherein each authorization result in the first plurality of authorization results corresponds to less than eight bits in the first bit vector; after storing the authorization context in association with the cursor, receiving a second database statement; in response to receiving the second database statement, generating a second authorization context that indicates a second plurality of authorization results, wherein each authorization result in the second plurality of authorization results corresponds to a different data realm of the plurality of data realms; storing the second authorization context in a second bit vector; wherein each authorization result in the second plurality of authorization results corresponds to less than eight bits in the second bit vector; determining whether to use the cursor to execute the second database statement by comparing the second bit vector of the second authorization context to the first bit vector of the first authorization context.
1. A method comprising: storing, in association with a cursor for a first database statement, in a first bit vector, a first authorization context that indicates a first plurality of authorization results, wherein each authorization result in the first plurality of authorization results corresponds to a different data realm of a plurality of data realms; wherein each authorization result in the first plurality of authorization results corresponds to less than eight bits in the first bit vector; after storing the authorization context in association with the cursor, receiving a second database statement; in response to receiving the second database statement, generating a second authorization context that indicates a second plurality of authorization results, wherein each authorization result in the second plurality of authorization results corresponds to a different data realm of the plurality of data realms; storing the second authorization context in a second bit vector; wherein each authorization result in the second plurality of authorization results corresponds to less than eight bits in the second bit vector; determining whether to use the cursor to execute the second database statement by comparing the second bit vector of the second authorization context to the first bit vector of the first authorization context. 3. The method of claim 1 , wherein one or more of the first plurality of authorization results is neither a grant or deny.