Re: Procedures - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: Procedures
Date
Msg-id hlooul$d1v$1@ger.gmane.org
Whole thread Raw
In response to Re: Procedures  (Nilesh Govindarajan <lists@itech7.com>)
List pgsql-general
Nilesh Govindarajan wrote on 20.02.2010 14:28:
> Okay here's my query -
>
> select c.cid, c.subject, n.title from comments c, node n where c.nid =
> n.nid and c.status != 0;
>
> This is the query to check list of comments requiring admin approval and
> also the article titles on which this is posted.
>
> I want to see this result on the screen at psql prompt. Since it may
> return multiple rows, a cursor has to be employed here.

Hmm, I don't understand your question.

When you run the query, psql will display the result...

Thomas



pgsql-general by date:

Previous
From: Raymond O'Donnell
Date:
Subject: Re: Procedures
Next
From: Nilesh Govindarajan
Date:
Subject: Re: Procedures