Re: 7.3 --> 7.4 C Functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 7.3 --> 7.4 C Functions
Date: 2003-12-06 18:48:17
Message-ID: 14379.1070736497@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Nigel J. Andrews" <nandrews(at)investsystems(dot)co(dot)uk> writes:
> So, what I'm interested in is people's views on how easy it is to port
> C functions from 7.3 to 7.4. I know the elog has changed but that's
> just a bit of leg work, I presume there is nothing significant in how
> to use SPI and the normal sort of tuple manipulation things.

AFAIR the only significant change in stuff that ordinary user-defined
functions might want to use is elog() to ereport(). And even there,
you don't really *have* to convert, it just lets you put out better
error messages.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joe Conway 2003-12-06 18:55:58 Re: 7.3 --> 7.4 C Functions
Previous Message Seum-Lim Gan 2003-12-06 18:45:30 Re: pg_hba.conf change in 7.4