| From: | Surafel Temesgen <surafel3000(at)gmail(dot)com> |
|---|---|
| To: | Erik Rijkers <er(at)xs4all(dot)nl> |
| Cc: | Ryan Lambert <ryan(at)rustprooflabs(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Re: FETCH FIRST clause PERCENT option |
| Date: | 2019-08-19 09:18:39 |
| Message-ID: | CALAY4q93HE3TLdewGcD=SYEsfiHvgMgecN-Cr1sgKBv4CRU6Qg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Erik
On Mon, Aug 19, 2019 at 10:47 AM Erik Rijkers <er(at)xs4all(dot)nl> wrote:
> Hi,
>
> (running with those two patches applied)
>
> select * from onek where thousand < 5 order by thousand fetch first -1
> percent rows only
> is correctly caught (with "ERROR: PERCENT must not be negative") but:
>
> select * from onek where thousand < 5 order by thousand fetch first
> 101 percent rows only
> is not. It doesn't return, and cannot be Ctrl-C'ed out of, which I guess
> is another bug?
>
Fixed
regards
Surafel
| Attachment | Content-Type | Size |
|---|---|---|
| percent-incremental-v7.patch | text/x-patch | 48.9 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kyotaro Horiguchi | 2019-08-19 09:59:59 | Re: [HACKERS] WAL logging problem in 9.4.3? |
| Previous Message | Konstantin Knizhnik | 2019-08-19 08:51:47 | Re: Global temporary tables |