Re: [PATCHES] spi_query/spi_fetchrow for pl/perl

2005-07-10 Thread Bruce Momjian
Patch applied. Thanks. --- Abhijit Menon-Sen wrote: The attached patch implements spi_query() and spi_fetchrow() functions for PL/Perl, to avoid loading the entire result set into memory as the existing

[PATCHES] spi_query/spi_fetchrow for pl/perl

2005-06-29 Thread Abhijit Menon-Sen
The attached patch implements spi_query() and spi_fetchrow() functions for PL/Perl, to avoid loading the entire result set into memory as the existing spi_exec_query() function does. Here's how one might use the new functions: $x = spi_query(select ...); while (defined ($y =