tab completion of IMPORT FOREIGN SCHEMA - Mailing list pgsql-hackers

From Jeff Janes
Subject tab completion of IMPORT FOREIGN SCHEMA
Date
Msg-id CAMkU=1wr7Roj41q-XiJs=Uyc2xCmHhcGGy7J-peJQK-e+w=ghw@mail.gmail.com
Whole thread Raw
Responses Re: tab completion of IMPORT FOREIGN SCHEMA  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I use IMPORT FOREIGN SCHEMA a bit to set up systems for testing.  But not enough that I can ever remember whether INTO or FROM SERVER comes first in the syntax.

Here is an improvement to the tab completion, so I don't have to keep looking it up in the docs.

It accidentally (even before this patch) completes "IMPORT FOREIGN SCHEMA" with a list of local schemas.  This is probably wrong, but I find this convenient as I often do this in a loop-back setup where the list of foreign schema would be the same as the local ones.  So I don't countermand that behavior here.

Cheers,

Jeff
Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Optimising latch signals
Next
From: Tom Lane
Date:
Subject: Re: tab completion of IMPORT FOREIGN SCHEMA