This is a limit-offset bug? - Mailing list pgsql-general

From Emanuel Calvo Franco
Subject This is a limit-offset bug?
Date
Msg-id f205bb120812260352l64e4e338vfd5029e3626ef7ab@mail.gmail.com
Whole thread Raw
Responses Re: This is a limit-offset bug?  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Hi people,

Yesterday when i was making some commands on 8.3.5
(on Centos)
i found a rare behavior of limit offset.

Try in psql:

select * from foo limit 3; <- shows ok
select * from foo limit3; <- shows all rows
select * from foo offset1223raf3w4t4tgga; <- shows all rows
select * from foo limitsdfsdfaerfgsafqaweawe; <- shows all rows
select * from foo limit; <- this shows error ok
select * from foo limitt; ....

All the chars inmediatly continue the limit or offset commands
are ignored.

If this kind of problems there isn't a bug, sorry.

--
      Emanuel Calvo Franco
Syscope Postgresql Consultant
     ArPUG / AOSUG Member

pgsql-general by date:

Previous
From: "Pavel Stehule"
Date:
Subject: Re: Conditional commit inside functions
Next
From: "Emanuel Calvo Franco"
Date:
Subject: Re: Compiling 8.4devel on OpenSolaris2008.11 with SunStudioExpress