Johan511 opened a new issue, #309:
URL: https://github.com/apache/age/issues/309

   I would like to contribute to this project and have tried to make the clone 
of the repo on my local system, during which I faced the following errors
   
   Database : postgres 14
   
   **src/backend/catalog/ag_catalog.c:97:68: error: incompatible type for 
argument 4 of ‘prev_process_utility_hook’**
   prev_process_utility hook requires 8 arguments but, only 7 were passed. The 
repo does not pass the bool readOnlyTree argument
   
   typedef void (*ProcessUtility_hook_type) (PlannedStmt *pstmt, const char 
*queryString, bool readOnlyTree, ProcessUtilityContext context, ParamListInfo 
params, QueryEnvironment *queryEnv, DestReceiver *dest, QueryCompletion *qc);
   
   
   **src/backend/catalog/ag_catalog.c:100:62: error: incompatible type for 
argument 4 of ‘standard_ProcessUtility’**
   standard_ProcessUtility is a function which requires 8 arguments but, only 7 
were passed. The repo does not pass the bool readOnlyTree argument
   
   extern void standard_ProcessUtility(PlannedStmt *pstmt, const char 
*queryString, bool readOnlyTree, ProcessUtilityContext context, ParamListInfo 
params, QueryEnvironment *queryEnv, DestReceiver *dest, QueryCompletion *qc);
   
   I had greedily tried to fix these issues by setting readOnlyTree to false 
and tried compiling and still face this issue
   
   **src/backend/catalog/ag_graph.c:67:15: error: void value not ignored as it 
ought to be**
   src/backend/catalog/ag_graph.c:67 is
   graph_oid = CatalogTupleInsert(ag_graph, tuple);
   
   CatalogTupleInsert returns void while graph_oid has type short int.
   
   I am very enthusiastic to try and fix these issues and be a part of the age 
community and would appreciate any suggestions on how I could fix the issues.
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to