Re: Indexing on JSONB field not working - Mailing list pgsql-bugs

From Zhihong Zhang
Subject Re: Indexing on JSONB field not working
Date
Msg-id 8A8F3B89-D73E-4247-B4B5-4AAD08DD9FBB@gmail.com
Whole thread Raw
In response to Re: Indexing on JSONB field not working  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs


On Dec 27, 2019, at 12:45 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

I think we can eliminate the RLS-is-blocking-it idea, because that
would also apply to stats on simple columns.  But maybe your user only
has select privilege on some columns of the table in question?


The user is the default/vanilla RDS account. We didn’t set any special permissions. 

Let me know if you want check any specific permissions. Here are all the permissions I know of,

SELECT grantee, privilege_type FROM information_schema.role_table_grants WHERE table_name='assets_copy';
grantee | privilege_type
----------+----------------
postgres | INSERT
postgres | SELECT
postgres | UPDATE
postgres | DELETE
postgres | TRUNCATE
postgres | REFERENCES
postgres | TRIGGER
(7 rows)


Thanks!

Zhihong



pgsql-bugs by date:

Previous
From: Zhihong Zhang
Date:
Subject: Re: Indexing on JSONB field not working
Next
From: Zhihong Zhang
Date:
Subject: Re: Indexing on JSONB field not working