Re: Get the number of records of a result set - Mailing list pgsql-general

From Eugenio Tacchini
Subject Re: Get the number of records of a result set
Date
Msg-id 20080130085942.068AA68873@smtp.eutelia.it
Whole thread Raw
In response to Re: Get the number of records of a result set  (Ow Mun Heng <Ow.Mun.Heng@wdc.com>)
List pgsql-general
At 16.35 30/01/2008 +0800, Ow Mun Heng wrote:

 >not sure what exactly you mean, but perhaps this could help?
 >
 >    del_stime := timeofday();
 >    execute del_qry;
 >    del_etime := timeofday();
 >
 >    GET DIAGNOSTICS del_rows = ROW_COUNT;
 >
 >This would get you the # of rows inserted into the destination table
 >etc.

This is exactly what I mean, thanks a lot to you and Pavel.


Eugenio.


pgsql-general by date:

Previous
From: Håkan Jacobsson
Date:
Subject: Re: Getting the count(*) from two tables and two date ranges in same query
Next
From: Gregory Stark
Date:
Subject: Re: postgresql book - practical or something newer?