Re: [HACKERS] Alternative to LIMIT in SELECT ? - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] Alternative to LIMIT in SELECT ?
Date
Msg-id 3624425F.712CE219@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] Alternative to LIMIT in SELECT ?  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: [HACKERS] Alternative to LIMIT in SELECT ?  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
> >> +   if (value == NULL) {
> >> +     reset_query_limit();
> >> +     return(TRUE);
> >> +   }
> >Any idea how 'value' could be null?  I could not see how that would
> >happen.
> Not sure. I just followed the way other set commands are doing.

This is how RESET is implemented.

                    - Tom

pgsql-hackers by date:

Previous
From: Paul A Vixie
Date:
Subject: Re: [HACKERS] Re: inet/cidr/bind
Next
From: "Matthew N. Dodd"
Date:
Subject: Re: [HACKERS] What about LIMIT in SELECT ?