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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7a7f13a) | patch
Simplify some conditions related to [LW]Lock in generate-wait_event_types.pl
2023年7月13日 00:09:04 +0000 (09:09 +0900)
2023年7月13日 00:09:04 +0000 (09:09 +0900)
commit c17164aec88cfa2d1b949e76e05e4ebafd74936c
Simplify some conditions related to [LW]Lock in generate-wait_event_types.pl

The first check on the enum values was not necessary as the values set
in wait_event_names.txt for the classes LWLock and Lock were able to
satisfy the check. The second check when generating the C and header
files is now based on a match of the class names, making it simpler to
understand.

Author: Masahiro Ikeda, Michael Paquier
Discussion: https://postgr.es/m/eaf82a85c0ef1b55dc3b651d3f7b867a@oss.nttdata.com
src/backend/utils/activity/generate-wait_event_types.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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