Apologies, in my mind this was an internals to the postgres_fdw code,
which is why I cam here. I checked that part of the docs and nowhere
does it say anything about defaulting to 5432. However in the referred
section, 34.1.2, there it says that libpq defaults to the "port number
established w
From: Phil Godfrin
My question is - how does the call to GetConnection() know what port to use?
Lets say we're using PGBouncer to connect on the local server at port 6432, but
there is no pgbouncer listening at the foreign server, what port gets passed?
My first thought is whatever the client c
Greetings!
Let say I have a foreign server using the reference postgres_fdw defined
without a port number:
CREATE SERVER /dat_server/ FOREIGN DATA WRAPPER /postgres_fdw/ OPTIONS (
|/host '172.1.1.1', dbname 'dbover_der'/| )
Naturally the tables in question are setup using a foreign table
d