Skip to main content

Questions tagged [postgresql-fdw]

Foreign Data Wrappers (FDW) enable access to remote data stores from PostgreSQL.

0 votes
0 answers
21 views

I am trying to recover a client's data hosted on an iSeries server. It is very probably a DB2. There are 2000+ tables to transfer. I have access with jdbc and tried with DBeaver (which gives the best ...
JC Boggio's user avatar
  • 197
2 votes
1 answer
69 views

I'm making a FDW (Foreign Data Wrapper) in PostgreSQL for myself using C. And in the test environment below, myFDW receives the query with/without LIMIT clause case by case. Test environment: psql → ...
toratora7964's user avatar
1 vote
1 answer
744 views

I have a database with a table whose primary key is a serial column, or a column with a locally-computed default value that prevents conflicts, for instance: CREATE TABLE foo ( foo_id serial ...
user2233709's user avatar
1 vote
1 answer
2k views

I have 2 databases db1 & db2, I created postgres_fdw into db1 & db 2 with: CREATE EXTENSION postgres_fdw; I configured server and user mapping into db2 : CREATE SERVER remote_server FOREIGN ...
Mohammadreza Ataei's user avatar
1 vote
1 answer
851 views

I am trying to create a user mapping in PostgreSQL without a password, but I am encountering an error that says. local_db=> select * from employee; ERROR: could not connect to server "...
Aymen Rahal's user avatar
0 votes
1 answer
171 views

I have an OLTP database and ETL jobs are running in the same database in the background. I was thinking of separating the OLTP and ETL instances so that resource utilization would be distributed. ...
Sajith P Shetty's user avatar
0 votes
1 answer
93 views

Does the PostgreSQL executor / planner have the ability to avoid n+1 querying of FDW tables? If so, what conditions have to be in place for this to happen, e.g. does the FDW need to emit a specific ...
ldrg's user avatar
  • 719
4 votes
1 answer
5k views

I am using postgres 13 and created a foreign server with use_remote_estimate: on and fetch_size: 10000. tableA here is a partition table by created_date. The query is running fine if the number of ...
Sushma Yadav's user avatar
0 votes
1 answer
145 views

This is new to me. I have been searching the net but no result. I have a server, Server A, that has been running for a few weeks, it is a new server. I set up FDW for this server to access all tables ...
padjee's user avatar
  • 327
0 votes
2 answers
747 views

Recently I setup Forward Data Wrapper. Here is what I do: CREATE SERVER foreign_server FOREIGN DATA WRAPPER postgres_fdw OPTIONS (host '192.168.125.1', port '5432', dbname 'template1 '); IMPORT ...
padjee's user avatar
  • 327
0 votes
2 answers
3k views

I create a foreign server in postgresql. Before adding foreign table, I want to get list of tables in this foreign server. Is there any way I can do this? This sql query show the created foreign ...
Ali dashti's user avatar
0 votes
1 answer
917 views

I imported a foreign schema using IMPORT FOREIGN SCHEMA. Now I'm able to access all the table content in that schema, but still unable to access any of the functions. Is it possible to execute a ...
Rajan Pandey's user avatar
0 votes
1 answer
3k views

We're using foreign data wrappers in a database which points to another server (which is a read-only replica). We run scheduled jobs using python ( more on this here: https://github.com/sqlalchemy/...
K. Anye's user avatar
  • 13
0 votes
1 answer
3k views

I had a question regarding the extension postgres_fdw. I am trying to use postgres_fdw to import foreign tables from DB A to DB B. These databases are on the same host. In Database B, I have a set of ...
user16573033's user avatar
0 votes
1 answer
1k views

I want to to replicate A TABLE from one server A to another B so that A and B always in-sync. This table on server A has like 4 - 5 million rows, whereas the table B is empty. What I want to do is ...
padjee's user avatar
  • 327

15 30 50 per page