On Thu, Apr 13, 2006 at 12:02:56PM -0400, Greg Stark wrote: > There's nothing wrong with a callback interface for applications. They can > generally have the callback function update the display or output to a file or > whatever they're planning to do with the data. > > However drivers don't generally work that way. Drivers have functions like:
As I pointed out in another email, this change is not aimed at applications doing fetch_next, but specifically at drivers like psqlODBC which have a very special way of handling resultsets, in this case, updateable resultsets. The aim is to work out why people are writing their own wire-protocol parsers. To find out the deficiency in libpq that prevents them using it. I agree, for what you're talking about I don't think a callback is at all relevent. Have a nice day, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a > tool for doing 5% of the work and then sitting around waiting for someone > else to do the other 95% so you can sue them.
signature.asc
Description: Digital signature