A provider runs CREATE SHARE sales_share; then GRANT USAGE ON DATABASE sales_db TO SHARE sales_share; GRANT USAGE ON SCHEMA sales_db.public TO SHARE sales_share; GRANT SELECT ON TABLE sales_db.public.orders TO SHARE sales_share; ALTER SHARE sales_share ADD ACCOUNT = consumer_acct; A consumer in consumer_acct queries the shared database and receives results. Six months later, the provider executes REVOKE SELECT ON TABLE sales_db.public.orders FROM SHARE sales_share; What is the immediate effect for the consumer?
Privileges granted to a share are enforced at query time against the provider's live data. Revoking SELECT on the table from the share removes the consumer's access instantly, so the next query returns an error such as 'SQL access control error: Insufficient privileges to operate on table'. No re-mounting is required for the revocation to take effect, and previously cached results do not preserve access.
Why this answer
Shares expose live provider data and enforce privileges at query time, so revoking SELECT on a table from a share removes access immediately. The consumer does not need to unmount the database, and cached results do not preserve authorization. The share object and other granted objects remain intact; only the revoked table becomes inaccessible, with a standard insufficient privileges error on the next attempt.
Exam trap
The trap here is assuming that a mounted share or cached results preserve access after a privilege is revoked.