Thread

  1. RE: Inheritance of functions shows unexpected behaviour

    Ganesh Prasad <ganesh.prasad@reply2.com.au> — 2001-05-01T04:24:33Z

    Thank you. 
    
    I hope the fix will implement polymorphism also, i.e., if a superclass and
    subclass define an identically-named function, then calling the function on
    all records of the superclass should transparently call the subclass's
    function for the records corresponding to the subclass.
    
    Regards,
    
    Ganesh
    
    -----Original Message-----
    From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
    Sent: Tuesday, 1 May 2001 6:09 AM
    To: ganesh.prasad@reply2.com; pgsql-bugs@postgresql.org
    Subject: Re: [BUGS] Inheritance of functions shows unexpected behaviour 
    
    
    pgsql-bugs@postgresql.org writes:
    > Inheritance of functions shows unexpected behaviour
    
    I agree, plpgsql is doing the wrong thing here.  Fix committed for
    7.1.1.
    
    			regards, tom lane