Re: C function returning rows, was Boolean text, with phrase ranking, search under Postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Edmar Wiggers" <edmar(at)brasmap(dot)com>
Cc: "markw" <markw(at)mohawksoft(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: C function returning rows, was Boolean text, with phrase ranking, search under Postgres
Date: 2000-10-17 00:51:58
Message-ID: 28169.971743918@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-general

"Edmar Wiggers" <edmar(at)brasmap(dot)com> writes:
> Moreover, I have run into the same problem as you (in a different project
> though): how do you return more than 1 value from a C function?

In current releases, a C function cannot return a set; the expression
evaluator has a hard-wired notion that only SQL-language functions can
return sets.

This is fixed in current development sources (7.1-to-be). How to do it
might even be documented by the time 7.1 gets out, though it's not yet
:-(

regards, tom lane

In response to

Browse pgsql-announce by date

  From Date Subject
Next Message mlw 2000-10-17 01:09:16 Re: C function returning rows, was Boolean text, with phrase ranking, search under Postgres
Previous Message Edmar Wiggers 2000-10-17 00:06:42 C function returning rows, was Boolean text, with phrase ranking, search under Postgres

Browse pgsql-general by date

  From Date Subject
Next Message mlw 2000-10-17 01:09:16 Re: C function returning rows, was Boolean text, with phrase ranking, search under Postgres
Previous Message Edmar Wiggers 2000-10-17 00:06:42 C function returning rows, was Boolean text, with phrase ranking, search under Postgres