Checking return value of SPI_execute

From: Mark Dilger <hornschnorter(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Checking return value of SPI_execute
Date: 2019-11-06 01:21:25
Message-ID: 17d30445-4862-7917-170f-84328dcd292d@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hackers,

please find attached a patch fixing a problem previously discussed [1]
about the code inappropriately ignoring the return value from SPI_execute.

I will be adding this to https://commitfest.postgresql.org/26/ shortly.

Mark Dilger

[1] https://www.postgresql.org/message-id/24753.1558141935%40sss.pgh.pa.us

Attachment Content-Type Size
v1-0001-Checking-return-value-of-SPI_execute.patch text/x-patch 1.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2019-11-06 01:31:36 Re: v12.0: ERROR: could not find pathkey item to sort
Previous Message Andres Freund 2019-11-06 00:43:00 Re: Make StringInfo available to frontend code.