I wrote:
> Marc Bachmann <marc.brookman@gmail.com> writes:
>> A function that inserts data and tries to return with a table now results in the error `query is not a SELECT`.
>> In previous versions that query succeeded.
> Hmm ... I'm a bit surprised that that worked before, but since it did,
> we shouldn't break it.
Fix pushed, thanks for the report!
regards, tom lane