pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bo Lorentsen <bl@netgroup.dk>
To: Russell Simpkins <russellsimpkins@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Number of rows in a cursor ?
Date: Wed, 24 Aug 2005 14:50:07 +0200
Message-ID: <430C6CFF.9070304@netgroup.dk> (raw)
In-Reply-To: <BAY103-DAV72BF461390EA073012267B5A80@phx.gbl>
References: <B74B7433CDDD2C4AA41D94832E32E19D92EE9A@EMEXM1112.dir.svc.accenture.com>
	<430C4C70.2010005@netgroup.dk>
	<BAY103-DAV72BF461390EA073012267B5A80@phx.gbl>

Russell Simpkins wrote:

> If you need a count, why not just execute one of the methods to get a 
> count. i.e.e select count(id) ...

The reason why i don't  just make a count and then a selection of data 
is performance.

/BL




view thread (13+ messages)  latest in thread

Message-ID: <430C6CFF.9070304@netgroup.dk>
Permalink:  ../430C6CFF.9070304@netgroup.dk/
Also on:    postgresql.org/message-id/430C6CFF.9070304@netgroup.dk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bl@netgroup.dk, russellsimpkins@hotmail.com
  Subject: Re: Number of rows in a cursor ?
  In-Reply-To: <430C6CFF.9070304@netgroup.dk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox