From: | gkokolatos(at)pm(dot)me |
---|---|
To: | Julien Rouhaud <rjuju123(at)gmail(dot)com> |
Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: psql tab completion for \h with IMPORT FOREIGN SCHEMA |
Date: | 2021-03-18 07:45:36 |
Message-ID: | Zw0SA_sfrua_PSL0xuoIab_cWnt9mSlAqoS_29uNtGc62Q77X2Ff7azbJhBXJPtnr9WCIdu3ws9q7VB3CSKe51ZhbpR_AjG5OBwEm2JkH9I=@pm.me |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, March 18, 2021 8:13 AM, Julien Rouhaud <rjuju123(at)gmail(dot)com> wrote:
> On Thu, Mar 18, 2021 at 03:58:46PM +0900, Michael Paquier wrote:
>
> > Well, as $subject tells, I just found confusing that \h does not
> > complete the so-said command, the only one using IMPORT as keyword,
> > so I'd like to do the following:
> > --- a/src/bin/psql/tab-complete.c
> > +++ b/src/bin/psql/tab-complete.c
> > @@ -1493,7 +1493,7 @@ psql_completion(const char *text, int start, int end)
> > "ABORT", "ALTER", "ANALYZE", "BEGIN", "CALL", "CHECKPOINT", "CLOSE", "CLUSTER",
> > "COMMENT", "COMMIT", "COPY", "CREATE", "DEALLOCATE", "DECLARE",
> > "DELETE FROM", "DISCARD", "DO", "DROP", "END", "EXECUTE", "EXPLAIN",
> >
> > - "FETCH", "GRANT", "IMPORT", "INSERT", "LISTEN", "LOAD", "LOCK",
> >
> >
> >
> > - "FETCH", "GRANT", "IMPORT FOREIGN SCHEMA", "INSERT", "LISTEN", "LOAD", "LOCK",
> > "MOVE", "NOTIFY", "PREPARE",
> > "REASSIGN", "REFRESH MATERIALIZED VIEW", "REINDEX", "RELEASE",
> > "RESET", "REVOKE", "ROLLBACK",
> >
> >
>
> Looks sensible to me.
It seems helpful. Thank you.
From | Date | Subject | |
---|---|---|---|
Next Message | Paul Guo | 2021-03-18 07:52:29 | Re: fdatasync performance problem with large number of DB files |
Previous Message | Bharath Rupireddy | 2021-03-18 07:41:37 | Re: A new function to wait for the backend exit after termination |