jrgemignani commented on PR #807:
URL: https://github.com/apache/age/pull/807#issuecomment-1507769517

   @rrrokhtar Yeah, I get that. And I'm sorry if the person responsible for 
your project hasn't given you any direction or guidance yet. Hopefully, they 
will be more forthcoming in the future.
   
   In C and in PostgreSQL there are different sizes of integers and floats, in 
AGTYPE there is just one of each. There are also different number types, like 
integer, float, and numeric. AGTYPE is structure with different types inside. 
   
   As you are outputting an AGTYPE integer, you should look at how that is 
internally represented and then make sure the whole process retains that 
precision, if at all possible.
   
   Look at how PostgreSQL sets up the factorial function, its input datatypes, 
its output datatypes. Then think about how it should work in AGE, ask questions 
and get a consensus on your approach. 


-- 
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