You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
1. Refactor code in YbRunWithPrefetcher to set
YbcPgLastKnownCatalogVersionInfo fields one by one rather than
assigning the whole struct. This is to avoid error on running
yb_pgindent.
1. Update yb_typedefs.list using the method described in
src/postgres/src/tools/pgindent/README.
1. Run yb_pgindent.
1. Make manual adjustments to some areas badly affected by yb_pgindent:
- Add "YB" to comment in pgss_store.
- Rename local variable is_tidvar to yb_is_tidvar in IsCTIDVar, and
do other adjustments in the area.
- Move function parameter comment after ");" for InitPostgres
function call in PostgresMain.
- YbctidListEval has a function call breaking after "(": restructure
it.
- yb_xcluster_ddl_replication/source_ddl_end_handler.h doesn't have
"extern" for function declarations. Add it. There are probably
more violations in other files in this directory, but don't bother
with it now since they are not affected by this yb_pgindent run.
1. Run yb_pgindent one more time.
Jira: DB-18409
Test Plan:
jenkins
Close: #28706
Reviewers: myang, asaha, amartsinchyk, hsunder
Reviewed By: myang, asaha
Subscribers: yql
Differential Revision: https://phorge.dev.yugabyte.com/D46798
0 commit comments