Re: [HACKERS] psql tab completion for GRANT role

2012-06-19 Thread Robert Haas
On Tue, Jun 19, 2012 at 3:16 AM, Peter Eisentraut wrote: > On tor, 2012-06-14 at 13:38 -0400, Robert Haas wrote: >> On Sun, Jan 8, 2012 at 3:48 PM, Peter Eisentraut wrote: >> > psql tab completion currently only supports the form GRANT privilege ON >> > something TO someone (and the analogous REV

Re: [HACKERS] psql tab completion for GRANT role

2012-06-19 Thread Peter Eisentraut
On tor, 2012-06-14 at 13:38 -0400, Robert Haas wrote: > On Sun, Jan 8, 2012 at 3:48 PM, Peter Eisentraut wrote: > > psql tab completion currently only supports the form GRANT privilege ON > > something TO someone (and the analogous REVOKE), but not the form GRANT > > role TO someone. Here is a pa

Re: [HACKERS] psql tab completion for GRANT role

2012-06-14 Thread Robert Haas
On Sun, Jan 8, 2012 at 3:48 PM, Peter Eisentraut wrote: > psql tab completion currently only supports the form GRANT privilege ON > something TO someone (and the analogous REVOKE), but not the form GRANT > role TO someone.  Here is a patch that attempts to implement the latter. This seems to have

[HACKERS] psql tab completion for GRANT role

2012-01-08 Thread Peter Eisentraut
psql tab completion currently only supports the form GRANT privilege ON something TO someone (and the analogous REVOKE), but not the form GRANT role TO someone. Here is a patch that attempts to implement the latter. diff --git i/src/bin/psql/tab-complete.c w/src/bin/psql/tab-complete.c index 4737