Re: [HACKERS] SELECT ... LIMIT (trial implementation) - Mailing list pgsql-hackers

From Oleg Bartunov
Subject Re: [HACKERS] SELECT ... LIMIT (trial implementation)
Date
Msg-id Pine.GSO.3.96.SK.981018215259.17519D-100000@ra
Whole thread Raw
In response to SELECT ... LIMIT (trial implementation)  (jwieck@debis.com (Jan Wieck))
Responses Re: [HACKERS] SELECT ... LIMIT (trial implementation)
List pgsql-hackers
Jan,

I tested your patch on my Linux box and it works ok, except
aggregates functions doesn't work properly, for example
count(*) always produces 0

kdo=> select count(*)  from work_flats limit 10,1000;
count
-----
(0 rows)

while

kdo=> select rooms from work_flats limit 10,1000;
rooms
-----
    3
    3
    3
    3
    3
    3
    3
    3
    3
    3
(10 rows)


    Regards,

        Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83


pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: [HACKERS] SELECT ... LIMIT (trial implementation)
Next
From: Paul A Vixie
Date:
Subject: Re: [HACKERS] Re: inet/cidr/bind