Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
46 views

I use postgres_fdw to create relations between my databases Here I have a foreign model with the name: class User(AbstractUser): ... class Meta: db_table = '"foreign_user".&...
Ali Joghataee's user avatar
0 votes
0 answers
50 views

I have two Postgresql database Server running on Azure, both of version 16.8. I created the foreign data wrapper and created foreign table as well, everything created well. but when I am trying to ...
Akhil Kumar's user avatar
1 vote
0 answers
39 views

I am using redis_fdw in a PL/pgSQL function to interact with a Redis server, and I’ve encountered issues with certain queries. Here is the summary: CREATE FOREIGN TABLE redis_db7 (key text, val text) ...
Morteza Seydi's user avatar
0 votes
0 answers
65 views

I have 2 postgres clusters (A and B) on different servers. Whenever data is written to the table on server A, I want to copy the data to the table on server B. But the data retention in the table on ...
CBat's user avatar
  • 13
5 votes
1 answer
133 views

We have a (perhaps) slightly unusual setup for the connection between our Oracle database(s) and our Postgres database(s), which relies on the oracle_fdw extension (which I have great appreciation for)...
permanewb's user avatar
0 votes
1 answer
741 views

FDW (Foreign Data Wrappers) are very useful, and I need them to read CSV files. (Please do not reply to say "use COPY"). Generally using it on other machines is "plug and play"... ...
Peter Krauss's user avatar
2 votes
1 answer
63 views

I have a view which has a column for age (like Age (CURRENT_TIMESTAMP, birth_dtm)). This works fine, but when used through a FDW offsets the age by current timezone's offset from GMT. PostgreSQL ...
Jitendra Loyal's user avatar
0 votes
2 answers
645 views

In PostgreSQL there is postgres_fdw extension, which allows to add a foreign schema to your own database, like a view which makes it possible to get data from another Postgres making queries to it ...
Dmitrii Polovinkin's user avatar
0 votes
0 answers
101 views

I have a PostgreSQL database "local_db" with a foreign data wrapper (FDW) connection to an external database "foreign_db". In the external database, there is a table called Pricing(...
Ramzi Mebarek's user avatar
0 votes
0 answers
30 views

Below is the code snippet if _, err := db.Exec(cmd, args...); err != nil { return fmt.Errorf("failed to execute command: command %s %v", v.Command, err) } where cmd being passed is ...
Abhishek's user avatar
1 vote
1 answer
223 views

I am trying to build the steampipe-postgres-fdw project in a Mac M1 with the latest go version (1.21). It currently uses go version 1.19. The FDW is designed to work with Postgresql 14. The project ...
Binaek Sarkar's user avatar
0 votes
0 answers
41 views

I have 2 postgresql database instances and I use fdw to import schemas from one instance to another. However I've seen that my local column comments don't import with schemas. I know that inheritance ...
yam0925's user avatar
1 vote
0 answers
725 views

I have a view on the primary database, now I want to have the data of this view to be on the secondary database but in a table. Is there a way or a third-party tool to keep the view data in sync with ...
Sujeet Chaurasia's user avatar
3 votes
1 answer
878 views

Thanks in advance to anyone who might be able to help with this. I have a Postgres 15.2 database which uses a partition table to access foreign data worker tables by a Zone id. Each zone further ...
coduspocus's user avatar
0 votes
1 answer
118 views

I'm writing a postgres FDW extension for my custom data storage. I have a class that provides the API for the storage. initialization of the class is rather costly, and I also need to have access to ...
Vlad Keel's user avatar
  • 410
0 votes
1 answer
746 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
1 vote
0 answers
47 views

I'm writing an FDW for a non-SQL data source. Platform is Windows 10, C (MS Visual Studio), Postgresql 14. My FDW code is modeled after FDW example codes I have studied such as SQLite, JSON, CSV, File,...
Kenigmatic's user avatar
0 votes
0 answers
197 views

I've been working on a major project that compares data from multiple data sources. I've been using postgres_fdw for this and I've been successful in retrieving data to my local postgres instance from ...
Andrew Stevenson's user avatar
1 vote
1 answer
2k views

I'm using postgres_fdw to connect to another PostgreSQL server. The foreign data wrapper is currently configured with a large fetch_size and extremely large fdw_startup_cost. This working well for ...
King Chung Huang's user avatar
0 votes
1 answer
140 views

Say I have two db1 and db2, with schema - db1.public.orders - db1.public.accounts - db2.public.orders - db2.public.accounts If I wish to have access to two databases, would it be recommended ...
1qnew's user avatar
  • 11
1 vote
1 answer
1k views

This is similar to this question Postgres could not serialize access due to concurrent update, however because of characteristics of FDW the suggestions aren't applicable. The error is "could not ...
user1487861's user avatar
0 votes
2 answers
949 views

I'm trying to fetch data from a remote server with JOIN clause which involves only remote tables, but it is very slow because the planner decides to fetch all data from two tables and merge it locally....
rysi3k's user avatar
  • 3
0 votes
0 answers
54 views

I need to debug Postgres foreign data wrapper mysql_fdw.so. In Clion i try to attach postgres process. Debugger attached to process 8818 In source code of fdw i try to set break points, but it says ...
vantaqada's user avatar
  • 301
2 votes
1 answer
340 views

I have a user with role rds_iam so IAM DB Auth is required for the user to connect to my Aurora PostgreSQL server (server A). Which works as expected. I have added a role to Server B that has ...
kravb's user avatar
  • 588
0 votes
1 answer
749 views

I have a source code querying an Oracle database. Is it possible to replace the Oracle database by a PostgreSQL database without modifying the source code ? I thought about adding an adapter/wrapper ...
clouvis's user avatar
  • 585