pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Harald Fuchs <hf0614x@protecting.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Make COUNT(*) Faster?
Date: Sun, 10 Jul 2005 12:10:25 -0400
Message-ID: <11297.1121011825@sss.pgh.pa.us> (raw)
In-Reply-To: <puirziluoj.fsf@srv.protecting.net>
References: <9EF2931D-1097-470D-8ECB-59D00166C96F@apple.com>
	<60vf3mklue.fsf@dba2.int.libertyrms.com>
	<42CE89CA.2070607@noao.edu>
	<758d5e7f05070808305c049aae@mail.gmail.com>
	<puirziluoj.fsf@srv.protecting.net>

Harald Fuchs <hf0614x@protecting.net> writes:
>   FOR row IN EXECUTE 'EXPLAIN SELECT * FROM ' || tbl LOOP
> fails with the following message:
>   ERROR:  cannot open non-SELECT query as cursor

[ checks CVS history... ]  Use 8.0.2 or later.

			regards, tom lane



view thread (21+ messages)

Message-ID: <11297.1121011825@sss.pgh.pa.us>
Permalink:  ../11297.1121011825@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11297.1121011825@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, hf0614x@protecting.net
  Subject: Re: Make COUNT(*) Faster?
  In-Reply-To: <11297.1121011825@sss.pgh.pa.us>

* 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