pgsql: Fix misuse of foreach_delete_current().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix misuse of foreach_delete_current().
Дата
Msg-id E1lN20D-0000j6-Rp@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix misuse of foreach_delete_current().

Our coding convention requires this macro's result to be assigned
back to the original List variable.  In this usage, since the
List could not become empty, there was no actual bug --- but
some compilers warned about it.  Oversight in be45be9c3.

Discussion: https://postgr.es/m/35077b31-2d62-1e31-0e2e-ddb52d590b73@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1d581ce7129d7a33cd4ad27f8f246abfa1fd2db9

Modified Files
--------------
src/backend/parser/parse_agg.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: pgsql: Implement GROUP BY DISTINCT
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Improve tab completion of IMPORT FOREIGN SCHEMA with \h in psql