Re: Improve explicit cursor handling in pg_stat_statements

Поиск
Список
Период
Сортировка
От Sami Imseih
Тема Re: Improve explicit cursor handling in pg_stat_statements
Дата
Msg-id CAA5RZ0uakH417UU+pZc=XB3XwA=1iPb5J-aPUdvL6xYvE478cw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Improve explicit cursor handling in pg_stat_statements  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Improve explicit cursor handling in pg_stat_statements
Список pgsql-hackers
> +  * If an direction_keyword (i.e., FETCH FORWARD) is used, set this field
> +  * to distinguish it from its numeric counterpart (i.e., FETCH 1). This
> +  * value is set only within gram.y.
>
> One nitpick comment here is that I would have mentioned that this
> matters for query jumbling.

Done

> The tests can be in cursors.sql and not utility.sql, which is the test
> area for...  Cursors.  :D

Yeah, not sure how I missed the cursor.sql file.

> FetchDirectionKeywords could be in typedefs.list to avoid the
> indentation accident with the structure definition.

Done.

v5 attached.

--
Sami

Вложения

В списке pgsql-hackers по дате отправления: