Re: returning only part of a rule set

From: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: returning only part of a rule set
Date: 2014-11-25 21:36:02
Message-ID: 1416951362433-5828218.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dave Potts wrote
> I have a psql function that make a general sql query, returns a set of
> results
> Q. Is there anyway that I can limit the size of the result sets ?

SELECT *
FROM somewhere
LIMIT 50; <---

David J.

btw: what is a "psql function"?

--
View this message in context: http://postgresql.nabble.com/returning-only-part-of-a-rule-set-tp5828217p5828218.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2014-11-25 21:36:24 Re: returning only part of a rule set
Previous Message Dave Potts 2014-11-25 21:27:21 returning only part of a rule set