Re: AW: Coping with 'C' vs 'newC' function language namesh - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: AW: Coping with 'C' vs 'newC' function language namesh
Date
Msg-id 200011161703.MAA15735@candle.pha.pa.us
Whole thread Raw
In response to AW: Coping with 'C' vs 'newC' function language namesh  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
List pgsql-hackers
> Actually my proposal would be to not advertise "newC" in 7.1 and do
> some more research in that area until we have a solid and maybe compatible
> interface that also makes the missing features possible 
> (multiple columns and rows for return, enter the function more than once
> to retrieve only part of the result if it consists of many rows).

My problem with newC is that I think it is going to cause confusing by
people who create new-style functions and call the language "C".  I
recommend making our current code "C" style, and calling pre-7.1
functions "C70", that way, we can still enable old functions to work,
they just have to use "C70" to make them work, and all our new code is
the clean "C" type.

Comments?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: RE: [COMMITTERS] pgsql/src/backend/access/transam ( xact.c xlog.c)
Next
From: Bruce Momjian
Date:
Subject: Re: [rfc] new CREATE FUNCTION (and more)