-
Notifications
You must be signed in to change notification settings - Fork 1
[BUG] pgindent not working properly #3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi! Thanks for request. I looked as sources on And the reason why I do not use |
Ok, reasonable. Looking forward to testing the fixed version. |
Fixed this in new 1.4.3 release. If it helped, then close the issue, please. |
Hi, I just did a quick test, it works for the
|
Hi, after some hours of searching i found that not only source code must be processed, but also Experiments shew that it was root cause of problem. I will fix this soon. |
I created prerelease version 1.4.4 with fixes. If this helps then tell me, i will publish it. |
It works, I will close this issue with this comment, thanks ;) |
Describe the bug
I'm playing with v1.4.2, there seems still some unexpected behaviors, take src/backend/utils/mmgr/mcxt.c as an example, after format with the extension, there are some format issues, e.g. function return
void *
changed tovoid *
, it seems that inrunPgindentInternal
, you are downloading typedefs.list from internet because pg_bsd_indent directory doesn't contains it.I see you comment that to use pg_bsd_indent directly instead of pgindent for some reason, but in my case(out of tree build) the issue happened. The following command works in my case, hope this can give you some hints.
I'd suggest keeping the PgindentPath setting, when user set it, call pgindent instead of pg_bsd_indent directly, what do you think? @ashenBlade
The text was updated successfully, but these errors were encountered: