git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 0e758ae) | patch
Fix compiler warning on MSVC
Mon, 7 Nov 2022 21:54:04 +0000 (10:54 +1300)
Mon, 7 Nov 2022 21:54:04 +0000 (10:54 +1300)
commit 1613de8bc34b4977d0186b56ef5a00ef8058a74a
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
src/backend/parser/gram.y diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /