Re: Frontend error logging style
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dmitry Koval <d.koval@postgrespro.ru>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2022-10-11T15:08:47Z
Lists: pgsql-hackers
Dmitry Koval <d.koval@postgrespro.ru> writes: > Hi! > Commit 9a374b77fb53 (Improve frontend error logging style.) replaced a > line of file src/include/common/logging.h > ``` > extern PGDLLIMPORT enum pg_log_level __pg_log_level; > ``` > to > ``` > extern enum pg_log_level __pg_log_level; > ``` > i.e. it is rollback of commit 8ec569479fc28 (Apply PGDLLIMPORT markings > broadly.) > Is it correct? Yes, since that file is frontend-only. regards, tom lane
Commits
-
logging: Also add the command prefix to detail and hint messages
- a8cca6026e99 15.0 landed
-
Remove not-very-useful early checks of __pg_log_level in logging.h.
- 2c9381840fe2 15.0 landed
-
Improve frontend error logging style.
- 9a374b77fb53 15.0 landed
-
Apply PGDLLIMPORT markings broadly.
- 8ec569479fc2 15.0 cited