Re: C-Extenions for PostgreSQL, Call Convention Version 0

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: "Harald Armin Massa" <haraldarminmassa(at)gmail(dot)com>
Cc: "Pgsql-General (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: C-Extenions for PostgreSQL, Call Convention Version 0
Date: 2008-01-03 16:10:24
Message-ID: 162867790801030810g112544cej584aa3b02a85485c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello

version 0 Calling Convention is really deprecated. From 8.2 manual:

We present the "old style" calling convention first — although this
approach is now deprecated, it's easier to get a handle on initially.

Regards
Pavel Stehule

On 03/01/2008, Harald Armin Massa <haraldarminmassa(at)gmail(dot)com> wrote:
> Hello,
>
> I am researching information about writing C-language-Functions for
> PostgreSQL. I came accross the slides of an OSCON 2004 tutorial of
> Joe Conway
> http://www.joeconway.com/tut_oscon_2004.pdf
>
> where he states:
> Version 0 Calling Convention
> • Deprecated
> • Has been since the 7.1 release.
> • Don't use it.
>
> Within the PostgreSQL-Documentation for 8.2,
> http://www.postgresql.org/docs/8.2/interactive/xfunc-c.html, still I
> find:
>
> """Using call conventions version 0, we can define c_overpaid as:"""
>
> That sound very tutorial-like; and so $I wonder: is those version 0
> depreciated? Or ist there still value in learning it?
>
>
> Harald
>
> --
> GHUM Harald Massa
> persuadere et programmare
> Harald Armin Massa
> Spielberger Straße 49
> 70435 Stuttgart
> 0173/9409607
> fx 01212-5-13695179
> -
> EuroPython 2008 will take place in Vilnius, Lithuania - Stay tuned!
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message CN 2008-01-03 16:11:18 Feature request: NOTIFY enhancement
Previous Message Albe Laurenz 2008-01-03 15:45:55 Re: Can't make backup