public inbox for [email protected]  
help / color / mirror / Atom feed
From: Marcelo Fernandes <[email protected]>
To: [email protected]
Subject: What is the story behind _SPI_PLAN_MAGIC?
Date: Mon, 3 Feb 2025 14:36:13 +1300
Message-ID: <CAM2F1VNM23FRSVq65orFv1M_8GXB8KKEFWaXNj1eid_3QAP4RQ@mail.gmail.com> (raw)

Hi there,

Reading through the SPI code I see this definition:

  #define _SPI_PLAN_MAGIC 569278163

Which is used in he _SPI_plan struct in src/include/executor/spi_priv.h:

  typedef struct _SPI_plan
  {
      int magic;
      ...
  }

What is its purpose?

Thank you.
Marcelo






view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: What is the story behind _SPI_PLAN_MAGIC?
  In-Reply-To: <CAM2F1VNM23FRSVq65orFv1M_8GXB8KKEFWaXNj1eid_3QAP4RQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox