Using FDW to connect to a more recent postgres version?

Started by Koen De Grooteover 1 year ago2 messagesgeneral
Jump to latest
#1Koen De Groote
kdg.dev@gmail.com

The documentation speaks only of compatibility in terms of connecting to
older version:

postgres_fdw can be used with remote servers dating back to PostgreSQL

8.3. Read-only capability is available back to 8.1.

But what about connecting to a foreign server that is more recent? Like
pg14 connecting to pg17?

Are the considerations in that case simply with new data types not being
recognized? Or are there cases where the setup can be done, but queries
won't behave as expected?

Regards,
Koen De Groote

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Koen De Groote (#1)
Re: Using FDW to connect to a more recent postgres version?

Koen De Groote <kdg.dev@gmail.com> writes:

The documentation speaks only of compatibility in terms of connecting to
older version:

postgres_fdw can be used with remote servers dating back to PostgreSQL
8.3. Read-only capability is available back to 8.1.

But what about connecting to a foreign server that is more recent? Like
pg14 connecting to pg17?

I'd expect it to work, but it's not a scenario that we test.

regards, tom lane