Re: Miscellaneous tab completion issue fixes

2022-10-05 Thread vignesh C
On Wed, 5 Oct 2022 at 08:17, Michael Paquier wrote: > > On Tue, Oct 04, 2022 at 10:35:25AM +0100, Dagfinn Ilmari Mannsåker wrote: > > LGTM, +1 to commit. > > Fine by me, so done. Thanks for pushing this. Regards, Vignesh

Re: Miscellaneous tab completion issue fixes

2022-10-04 Thread Michael Paquier
On Tue, Oct 04, 2022 at 10:35:25AM +0100, Dagfinn Ilmari Mannsåker wrote: > LGTM, +1 to commit. Fine by me, so done. -- Michael signature.asc Description: PGP signature

Re: Miscellaneous tab completion issue fixes

2022-10-04 Thread Dagfinn Ilmari Mannsåker
vignesh C writes: > On Tue, 4 Oct 2022 at 09:13, Michael Paquier wrote: >> >> On Mon, Oct 03, 2022 at 06:29:32PM +0100, Dagfinn Ilmari Mannsåker wrote: >> > vignesh C writes: >> >> +else if (TailMatchesCS("\\dRp*")) >> >> +COMPLETE_WITH_QUERY(Query_for_list_of_publications[0].qu

Re: Miscellaneous tab completion issue fixes

2022-10-04 Thread vignesh C
On Tue, 4 Oct 2022 at 09:13, Michael Paquier wrote: > > On Mon, Oct 03, 2022 at 06:29:32PM +0100, Dagfinn Ilmari Mannsåker wrote: > > vignesh C writes: > >> +else if (TailMatchesCS("\\dRp*")) > >> +COMPLETE_WITH_QUERY(Query_for_list_of_publications[0].query); > >> +else if (Ta

Re: Miscellaneous tab completion issue fixes

2022-10-03 Thread Michael Paquier
On Mon, Oct 03, 2022 at 06:29:32PM +0100, Dagfinn Ilmari Mannsåker wrote: > vignesh C writes: >> +else if (TailMatchesCS("\\dRp*")) >> +COMPLETE_WITH_QUERY(Query_for_list_of_publications[0].query); >> +else if (TailMatchesCS("\\dRs*")) >> +COMPLETE_WITH_QUERY(Query_

Re: Miscellaneous tab completion issue fixes

2022-10-03 Thread Dagfinn Ilmari Mannsåker
vignesh C writes: > Hi, > > There were a couple of tab completion issues present: > a) \dRp and \dRs tab completion displays tables instead of displaying > publications and subscriptions. > b) "ALTER ... OWNER TO" does not include displaying of CURRENT_ROLE, > CURRENT_USER and SESSION_USER. > > T

Miscellaneous tab completion issue fixes

2022-10-03 Thread vignesh C
Hi, There were a couple of tab completion issues present: a) \dRp and \dRs tab completion displays tables instead of displaying publications and subscriptions. b) "ALTER ... OWNER TO" does not include displaying of CURRENT_ROLE, CURRENT_USER and SESSION_USER. The attached patch has the changes to