Re: [PATCH] Clarify issues with SPI and C language function limitations - Mailing list pgsql-patches

From Tom Lane
Subject Re: [PATCH] Clarify issues with SPI and C language function limitations
Date
Msg-id 26295.1123972049@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] Clarify issues with SPI and C language function limitations  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: [PATCH] Clarify issues with SPI and C language function limitations  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-patches
Martijn van Oosterhout <kleptog@svana.org> writes:
> Here is a patch to the documentation clarifying some minor issues.=20

> The first is to the main SPI documentation clarifying that SPI isn't
> available unless there is a current snapshot (leading to the "no
> snapshot has been set" error).

This is wrong.

> The second clarifies when the get_fn_expr_rettype() and
> get_fn_expr_argtype() functions can actually provide the information
> requested.

Except it doesn't actually tell you anything very definite ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Proposed: Have SPI_connect fail if there is no current snapshot
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] For review: Server instrumentation patch