Re: returning only part of a rule set

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Dave Potts <dave(dot)potts(at)pinan(dot)co(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: returning only part of a rule set
Date: 2014-11-25 21:36:24
Message-ID: 5474F658.6010700@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/25/2014 01:27 PM, 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 ?

Put a LIMIT on the query.

If that is not what you want then we will need to see the code and/or
get a more detailed explanation of where you want the limiting to occur.

>
> Dave.
>
>
>
>
>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dave Potts 2014-11-25 21:56:18 Re: returning only part of a rule set
Previous Message David G Johnston 2014-11-25 21:36:02 Re: returning only part of a rule set