aru-d-at commented on issue #839:
URL: https://github.com/apache/age/issues/839#issuecomment-1520630725

   @jrgemignani Noted. Thank you!
   
   Do you think it would be within the best interest to have another function 
to connect for non-superuser? Of course they would require sufficient privilege 
to use the schema `ag_catalog`.
   
   @CC-Hsu So, you'll have to grant privilege by Superuser to the `ag_catalog` 
schema to the non-superuser:
   ```SQL
   GRANT USAGE ON SCHEMA ag_catalog TO tester;
   ```
   
   Then, modify your Queries like so:
   ```
   SELECT * FROM ag_catalog.cypher('test', $$
   MATCH (v)
   RETURN v
   $$) as (v ag_catalog.agtype);
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@age.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to