The syntax for FETCH FIRST allows the <fetch first quantity> to be absent (implying 1). We implement this correctly for ONLY, but WITH TIES didn't get the memo. Patch attached. -- Vik Fearing
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных