@@ -1925,7 +1925,8 @@ psql_completion(const char *text, int start, int end)
1925
1925
COMPLETE_WITH ("(" , "PUBLICATION" );
1926
1926
/* ALTER SUBSCRIPTION <name> SET ( */
1927
1927
else if (HeadMatches ("ALTER" , "SUBSCRIPTION" , MatchAny ) && TailMatches ("SET" , "(" ))
1928
- COMPLETE_WITH ("binary" , "disable_on_error" , "origin" , "slot_name" ,
1928
+ COMPLETE_WITH ("binary" , "disable_on_error" , "origin" ,
1929
+ "password_required" , "run_as_owner" , "slot_name" ,
1929
1930
"streaming" , "synchronous_commit" );
1930
1931
/* ALTER SUBSCRIPTION <name> SKIP ( */
1931
1932
else if (HeadMatches ("ALTER" , "SUBSCRIPTION" , MatchAny ) && TailMatches ("SKIP" , "(" ))
@@ -3268,7 +3269,8 @@ psql_completion(const char *text, int start, int end)
3268
3269
/* Complete "CREATE SUBSCRIPTION <name> ... WITH ( <opt>" */
3269
3270
else if (HeadMatches ("CREATE" , "SUBSCRIPTION" ) && TailMatches ("WITH" , "(" ))
3270
3271
COMPLETE_WITH ("binary" , "connect" , "copy_data" , "create_slot" ,
3271
- "disable_on_error" , "enabled" , "origin" , "slot_name" ,
3272
+ "disable_on_error" , "enabled" , "origin" ,
3273
+ "password_required" , "run_as_owner" , "slot_name" ,
3272
3274
"streaming" , "synchronous_commit" , "two_phase" );
3273
3275
3274
3276
/* CREATE TRIGGER --- is allowed inside CREATE SCHEMA, so use TailMatches */
0 commit comments