Re: Initializing Datums for use with SPI_execute_plan

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jack Orenstein" <jack(dot)orenstein(at)gmail(dot)com>
Cc: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, "Andrew - Supernews" <andrew(at)supernews(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Initializing Datums for use with SPI_execute_plan
Date: 2006-09-19 23:05:33
Message-ID: 24799.1158707133@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Jack Orenstein" <jack(dot)orenstein(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message vtaquette 2006-09-20 00:10:14 Re: duplicate key violates unique constraint
Previous Message Michelle Konzack 2006-09-19 20:52:21 Re: vista