Re: Initializing Datums for use with SPI_execute_plan - Mailing list pgsql-general

From Tom Lane
Subject Re: Initializing Datums for use with SPI_execute_plan
Date
Msg-id 24799.1158707133@sss.pgh.pa.us
Whole thread Raw
In response to Re: Initializing Datums for use with SPI_execute_plan  ("Jack Orenstein" <jack.orenstein@gmail.com>)
List pgsql-general
"Jack Orenstein" <jack.orenstein@gmail.com> writes:
> The C extension I'm writing, which uses the SPI, will be called
> thousands or millions of times as part of a data conversion -- I do
> have to worry about memory leaks.

Not if it's called in a short-lived context, which should ordinarily be
the case.

            regards, tom lane

pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Load a csv file into a pgsql table
Next
From: vtaquette@globo.com
Date:
Subject: Re: duplicate key violates unique constraint