<table border="0" cellpadding="0" cellspacing="0"><tr><td style="font: inherit;" valign="top">Hello, <br /><br />I've a
Oracletype that I must translate to Postgres. This Oracle type is like below :<br /><br /><span style="font-style:
italic;">CREATEOR REPLACE</span><br style="font-style: italic;" /><span style="font-style: italic;">type D_Temp_Element
asobject</span><br style="font-style: italic;" /><span style="font-style: italic;">(</span><br style="font-style:
italic;"/><span style="font-style: italic;"> MEMBER FUNCTION to_string return Varchar2,</span><br style="font-style:
italic;"/><span style="font-style: italic;"> MEMBER FUNCTION duration return D_Interval,</span><br style="font-style:
italic;"/><span style="font-style: italic;"> ...</span><br style="font-style: italic;" /><span style="font-style:
italic;">);</span><br style="font-style: italic;" /><br />How can I do that in Postgres ? Is there something that be
equivalent?<br />Thanks.<br /><br />Rachid<br /></td></tr></table><br />