plpgsql direct from C? - Mailing list pgsql-general

From James Harper
Subject plpgsql direct from C?
Date
Msg-id AEC6C66638C05B468B556EA548C1A77DAF0727@trantor
Whole thread Raw
Responses Re: plpgsql direct from C?
List pgsql-general
Is there an API method to be able to execute pl/pgsql (or any other
language) code directly from C?

Eg (please excuse the line wrapping, and the fact that this doesn't
represent a case where this would actually be useful!)

result = PQexecPL("plpgsql", "IF $1 = 'xyzzy" THEN SELECT * FROM fnord
END IF;", "xyzzy");

?

Thanks

James

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: information_schema.columns.column_default filtered based on user
Next
From: Doug McNaught
Date:
Subject: Re: plpgsql direct from C?