Skip site navigation (1) Skip section navigation (2)

LIMIT Question

From: Terry Lee Tucker <terry(at)chosen-ones(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: LIMIT Question
Date: 2008-02-28 21:20:56
Message-ID: 200802281620.56739.terry@chosen-ones.org (view raw or flat)
Thread:
Lists: pgsql-general
When one uses LIMIT, as in LIMIT 1, is the entire query executed on the server 
side, but only one record returned?

--------------------------------------------------------------------------------------------------------
 PostgreSQL 7.4.19 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC) 3.4.6 
20060404 (Red Hat 3.4.6-9)

Thanks...
-- 
Terry Lee Tucker
Turbo's IT Manager
Turbo, division of Ozburn-Hessey Logistics
2251 Jesse Jewell Pkwy NE
Gainesville, GA 30501
Tel: (336) 372-6812  Fax: (336) 372-6812  Cell: (336) 404-6987
terry(at)turbocorp(dot)com
www.turbocorp.com

Responses

pgsql-general by date

Next:From: Greg SmithDate: 2008-02-28 21:35:44
Subject: Re: WAL Log Size
Previous:From: Erik JonesDate: 2008-02-28 21:18:06
Subject: Re: WAL Log Size

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group