Re: A few questions about foreign tables

From: Marcin Borkowski <mbork(at)mbork(dot)pl>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: A few questions about foreign tables
Date: 2023-10-20 08:26:04
Message-ID: 8734y53dk3.fsf@mbork.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 2023-10-18, at 17:56, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> wrote:

> On Wed, 2023-10-18 at 10:24 +0200, Marcin Borkowski wrote:
>> How to revert the effect of "import foreign schema"? Is just dropping
>> the imported tables enough?
>
> Running DROP FOREIGN TABLE ... for all imported tables is enough.
>
>> Also, how can I check the definitions (i.e., what tables on the server
>> they correspond to) of existing foreign tables?
>
> \d+ <table name>

Thanks.

>> (May I ask to be cc'd since I'm not subscribed to the list?)
>
> But please reply to the list.

Of course.

--
Marcin Borkowski
http://mbork.pl

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marcin Borkowski 2023-10-20 08:27:00 Re: A few questions about foreign tables
Previous Message David G. Johnston 2023-10-19 16:33:08 Re: My question about the transaction