Re: [PATCHES] spi_query/spi_fetchrow for pl/perl
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
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 =