Search Postgresql Archives

Re: What is the story behind _SPI_PLAN_MAGIC?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marcelo Fernandes <marcefern7@xxxxxxxxx> writes:
> Reading through the SPI code I see this definition:
>   #define _SPI_PLAN_MAGIC 569278163
> What is its purpose?

Just to catch programming errors, ie passing the wrong pointer
value to some SPI function.  See the checks for it in spi.c.

			regards, tom lane





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux