A few questions about foreign tables

From: Marcin Borkowski <mbork(at)mbork(dot)pl>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: A few questions about foreign tables
Date: 2023-10-18 08:24:04
Message-ID: 87bkcws5i3.fsf@mbork.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I want to set up a few foreign tables (to access tables from one
PostgreSQL database in another one). However, I want to do it
"properly", using a database migration tool, so I need to have a "down"
migration to revert to the previous state.

How to revert the effect of "import foreign schema"? Is just dropping
the imported tables enough?

Also, how can I check the definitions (i.e., what tables on the server
they correspond to) of existing foreign tables?

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

TIA,

--
Marcin Borkowski
http://mbork.pl

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shaozhong SHI 2023-10-18 11:27:17 postgres keeps having blocks
Previous Message Jehan-Guillaume de Rorthais 2023-10-18 07:44:53 Re: Postgresql HA cluster