Re: A few questions about foreign tables

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Marcin Borkowski <mbork(at)mbork(dot)pl>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: A few questions about foreign tables
Date: 2023-10-18 15:56:45
Message-ID: 4e7b5deef8b8e5e603bcb9dc32fc20e84bb95419.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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>

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

But please reply to the list.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2023-10-18 16:14:44 Re: A few questions about foreign tables
Previous Message Ron 2023-10-18 14:15:15 Re: postgres keeps having blocks