pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dino <dinesh.psql@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Activity count problem
Date: Mon, 3 Aug 2009 02:02:59 -0700 (PDT)
Message-ID: <6fc36e34-c0db-4476-87a7-2c05bbc32e2e@k19g2000yqn.googlegroups.com> (raw)

Hi All,

Is there a way I can get activity count of previously run sql to do
some quick error checks.
Say like I ran a select query on an error table and if the activity
count shows that the select query resulted in 10 rows, I want the
process to show failure status. Can this be tracked in pgsql?

Please help me out with this.

Thanks,
Dino



Message-ID: <6fc36e34-c0db-4476-87a7-2c05bbc32e2e@k19g2000yqn.googlegroups.com>
Permalink:  ../6fc36e34-c0db-4476-87a7-2c05bbc32e2e@k19g2000yqn.googlegroups.com/
Also on:    postgresql.org/message-id/6fc36e34-c0db-4476-87a7-2c05bbc32e2e@k19g2000yqn.googlegroups.com

 · 

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: dinesh.psql@gmail.com
  Subject: Re: Activity count problem
  In-Reply-To: <6fc36e34-c0db-4476-87a7-2c05bbc32e2e@k19g2000yqn.googlegroups.com>

* 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