[redland-dev] missing release_handle in rdf_storage_postgresql ?
Maxence Guesdon
Maxence.Guesdon at inria.fr
Wed Mar 7 06:39:15 EST 2012
On Wed, 7 Mar 2012 12:38:11 +0200
Lauri Aalto <laalto at gmail.com> wrote:
> Hi Maxence,
>
> the database connection is still needed when the stream is being
> iterated. RDF statements are pulled from the db only one at the time.
> If the db connection is released while the stream is still alive,
> calling librdf_stream_next() would fail.
>
> To optimize db connection lifetime, call librdf_free_stream() as early
> as possible.
Ok, thanks for your answer.
Regards,
Maxence
More information about the redland-dev
mailing list