What is the story behind _SPI_PLAN_MAGIC?

Поиск
Список
Период
Сортировка
От Marcelo Fernandes
Тема What is the story behind _SPI_PLAN_MAGIC?
Дата
Msg-id CAM2F1VNM23FRSVq65orFv1M_8GXB8KKEFWaXNj1eid_3QAP4RQ@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
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



В списке pgsql-general по дате отправления: