Re: prepared queries in plperl - Mailing list pgsql-hackers

From Dmitry Karasik
Subject Re: prepared queries in plperl
Date
Msg-id 84d5mutx37.fsf@tetsuo.karasik.eu.org
Whole thread Raw
In response to prepared queries in plperl  (Dmitry Karasik <dmitry@karasik.eu.org>)
List pgsql-hackers
Andrew> We need to examine the names being used on our spi functions - I'mAndrew> not sure there is sufficient
consistencyabout them.
 

Yes, but I'd rather wish the patch committed before that, because
otherwise I would be forced to rework the code again, after the
namespace is finally stabilized.
Andrew> Meanwhile, I will observe that this very desirable feature needsAndrew> an interface with spi_fetchrow() -
fetchinglarge gobs of data allAndrew> at once into perl memory is just not nice.
 

Agreed, I think as there is pair of spi_exec_query/spi_query, there should be
corresponding spi_exec_prepared/spi_whatever/spi_fetchrow_prepared. If I
have time, I'll look into implementing these, but again, I'd rather wait
until the patch is committed. When 8.1 is scheduled for release? 

-- 
Sincerely,Dmitry Karasik



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PERFORM] PostgreSQL overall design
Next
From: Tom Lane
Date:
Subject: Re: Making pgxs builds work with a relocated installation