Skip to content

Commit

Permalink
[PLAT-13221] Change DDL for admin user creation
Browse files Browse the repository at this point in the history
Test Plan: Run the failing itest https://jenkins.dev.yugabyte.com/view/Phabricator/job/platform-phabricator-itest-pipeline/25438/

Reviewers: myang, arnav, smishra

Reviewed By: myang, smishra

Subscribers: yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D33454
  • Loading branch information
iSignal committed Mar 24, 2024
1 parent f3d516a commit b4f4b80
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,8 @@ public class YsqlQueryExecutor {
+ "('pg_execute_server_program', 'pg_read_server_files', "
+ "'pg_write_server_files'));";
private static final String DEL_PG_ROLES_CMD_2 =
"SET YB_NON_DDL_TXN_FOR_SYS_TABLES_ALLOWED=ON; "
+ "DROP ROLE IF EXISTS pg_execute_server_program, pg_read_server_files, "
+ "pg_write_server_files; "
+ "UPDATE pg_yb_catalog_version "
+ "SET current_version = current_version + 1 WHERE db_oid = 1;";
"DROP ROLE IF EXISTS pg_execute_server_program, pg_read_server_files, "
+ "pg_write_server_files; ";

RuntimeConfigFactory runtimeConfigFactory;
NodeUniverseManager nodeUniverseManager;
Expand Down

0 comments on commit b4f4b80

Please sign in to comment.