Re: What is the story behind _SPI_PLAN_MAGIC?

From: Marcelo Fernandes <marcefern7(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: What is the story behind _SPI_PLAN_MAGIC?
Date: 2025-02-03 07:36:40
Message-ID: CAM2F1VOkP4FWkGmPhV_qhaFPK8Fy=4BVu0D0XXAg1en+C+mD2w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Feb 3, 2025 at 3:17 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Just to catch programming errors, ie passing the wrong pointer
> value to some SPI function. See the checks for it in spi.c.

Aha! Perfect, I thought it was something like that. Thank you!
Marcelo.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Zwettler Markus (OIZ) 2025-02-03 08:37:29 Re: Re: could not accept ssl connection tlsv1 alert unknown ca
Previous Message Pavel Stehule 2025-02-03 05:45:31 Re: Logging queries executed by SPI_execute