diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2021-04-22 10:56:28 -0400 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2021-04-22 10:56:28 -0400 |
commit | 4c4eaf3d19201c5e2d9efebc590903dfaba0d3e5 (patch) | |
tree | f67176ca36e554e384f8c4efce8055e0f59a854d /contrib/postgres_fdw/postgres_fdw.c | |
parent | f3b141c482552a57866c72919007d6481cd59ee3 (diff) | |
download | postgresql-4c4eaf3d19201c5e2d9efebc590903dfaba0d3e5.tar.gz postgresql-4c4eaf3d19201c5e2d9efebc590903dfaba0d3e5.zip |
Make PostgresNode version aware
A new PostgresVersion object type is created and this is used in
PostgresNode using the output of `pg_config --version` and the result
stored in the PostgresNode object. This object can be compared to other
PostgresVersion objects, or to a number or string.
PostgresNode is currently believed to be compatible with versions down
to release 12, so PostgresNode will issue a warning if used with a
version prior to that.
No attempt has been made to deal with incompatibilities in older
versions - that remains work to be undertaken in a subsequent
development cycle.
Based on code from Mark Dilger and Jehan-Guillaume de Rorthais.
Discussion: https://postgr.es/m/a80421c0-3d7e-def1-bcfe-24777f15e344@dunslane.net
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions