pgsql: Fix compiler warning on MSVC

Поиск
Список
Период
Сортировка
От David Rowley
Тема pgsql: Fix compiler warning on MSVC
Дата
Msg-id E1osA52-0004mG-31@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix compiler warning on MSVC

MSVC does not understand that ereport(ERROR) does not return, so just
return the first enum PartitionStrategy value to keep the compiler from
complaining about the missing return.

Discussion: https://postgr.es/m/20221104161934.GB16921@telsasoft.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1613de8bc34b4977d0186b56ef5a00ef8058a74a

Modified Files
--------------
src/backend/parser/gram.y | 3 +++
1 file changed, 3 insertions(+)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Stamp 10.23.
Следующее
От: David Rowley
Дата:
Сообщение: Re: pgsql: Resolve partition strategy during early parsing