You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to info-...@kettleriverconsulting.com
Hi All,
When I define a UDT how should I specify a function to call when ‘+’ is used between two elements of this type?
How do I disallow the ‘-‘ or other operators?
Martin Bowes
Ingres Forums
unread,
Nov 13, 2012, 1:07:55 PM11/13/12
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
In the IIADD_FI_DFN for the UDT the fid_opid field must be II_ADD_OP,
fid_optype must be II_OPERATOR, fid_routine is your function that
performs the addition.
Have a look at "usop_add" used in op.c (in
$II_SYSTEM/ingres/demo/udadts)