Re: [GENERAL] Executing a query and returning the result set using the SPI

2004-01-31 Thread Tom Lane
Nuno Morgadinho <[EMAIL PROTECTED]> writes: > Ideally, I would want to make the example function return the > information as a "set" and not through elog() so I can later access it > and print it using PHP. > I have a few ideas on how this can be accomplished but I haven't found > any simple exampl

[GENERAL] Executing a query and returning the result set using the SPI

2004-01-31 Thread Nuno Morgadinho
Hello all, I'm messing around with the Server Programming Interface and the particular example presented at: http://www.postgresql.org/docs/current/interactive/spi-examples.html Ideally, I would want to make the example function return the information as a "set" and not through elog() so I can

[GENERAL] Executing a query and returning the result set using the SPI

2004-01-26 Thread Nuno Morgadinho
Hello all, I'm messing around with the Server Programming Interface and the particular example presented at: http://www.postgresql.org/docs/current/interactive/spi-examples.html Ideally, I would want to make the example function return the information as a "set" and not through elog() so I can