Re: [HACKERS] Getting number of matched records from query

2003-11-01 Thread Stephan Szabo
On Sat, 1 Nov 2003, Michael Owens wrote: > Isn't this information (the number of matched records) available to the > backend --- even in the case of LIMIT? All matched records still have to be > materialized right? Therefore the record count should be available and could > therefore be available t

[HACKERS] Getting number of matched records from query

2003-11-01 Thread Michael Owens
I should perhaps dig a little more on this one, but per the C API docs I don't think what I am asking for is available. This somewhat relates to count(). Is there a reasonable way that information regarding the number of matched records could be passed back to the client --- even in the case of