Christopher Kings-Lynne wrote:
> > Call them different C names, but name them the same in CREATE FUNCTION
> > funcname.  Just use a different symbol name here:
> > 
> >        CREATE [ OR REPLACE ] FUNCTION name ( [ argtype [, ...] ] )
> >                                       ^^^^ same here
> >            RETURNS rettype
> >            AS 'obj_file', 'link_symbol'
> >                           ^^^^^^^^^^^^^ different here
> >            LANGUAGE langname
> >            [ WITH ( attribute [, ...] ) ]
> > 
> > 
> > Does that help?
> 
> Yes, I get it now - I should be able to set it up quite nicely.

Yea, this function overloading is a nifty feature.  No wonder C++ has
it.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to