-
Notifications
You must be signed in to change notification settings - Fork 17
Misc cleanup in libpagestore.c. #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
We could do a lot more, for the rebranding and cleanup in general. But this is a start. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to see the duplicate log tags fixed, the others are just nits. Note that these tags are located in more than just the places I've commented on.
contrib/zenith/libpagestore.c
Outdated
errhidestmt(true), errhidecontext(true))) | ||
|
||
bool connected = false; | ||
PGconn *pageserver_conn = NULL; | ||
|
||
char *page_server_connstring_raw; | ||
|
||
static ZenithResponse *zenith_call(ZenithRequest *request); | ||
static ZenithResponse *pageserver_call(ZenithRequest *request); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the renaming of Zenith[Response, Request] excluded from this patch's efforts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I left that for another path.
f5e592f
to
a309822
Compare
Rebased and fixed the stuff that @MMeent pointed out |
- Fix typos - Change Zenith -> Neon in the ZENITH_SMGR tag that's printed in error messages that is user-visible, and in various function names and comments that are not user-visible. - pgindent - Remove comment about zm_to_string() leaking memory. It doesn't. - Re-word some error messages to match PostgreSQL error message style guide
a309822
to
5c3925f
Compare
Contains changes from two PRs in vendor/postgres: - neondatabase/postgres#163 - neondatabase/postgres#176
Contains changes from two PRs in vendor/postgres: - neondatabase/postgres#163 - neondatabase/postgres#176
messages that is user-visible, and in various function names and comments
that are not user-visible.