On 2021/01/06 11:13, Masahiko Sawada wrote:
On Tue, Jan 5, 2021 at 6:08 PM Fujii Masao <masao.fu...@oss.nttdata.com> wrote:


+               COMPLETE_WITH_QUERY(Query_for_list_of_cursors
+                                                       " UNION SELECT 
'ABSOLUTE'"
+                                                       " UNION SELECT 
'BACKWARD'"
+                                                       " UNION SELECT 
'FORWARD'"
+                                                       " UNION SELECT 
'RELATIVE'"
+                                                       " UNION SELECT 'ALL'"
+                                                       " UNION SELECT 'NEXT'"
+                                                       " UNION SELECT 'PRIOR'"
+                                                       " UNION SELECT 'FIRST'"
+                                                       " UNION SELECT 'LAST'"
+                                                       " UNION SELECT 'FROM'"
+                                                       " UNION SELECT 'IN'");

This change makes psql unexpectedly output "FROM" and "IN" just after "FETCH".

I think "FROM" and "IN" can be placed just after "FETCH". According to
the documentation, the direction can be empty.

You're right. Thanks for correcting me!

Regards,

--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION


Reply via email to