aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython/sql/jsonb_plpython.sql
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-04-02 12:26:09 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2018-04-02 12:26:12 -0400
commitbeff4bb9c7411cfd973e192df05c0c1f5c796d22 (patch)
tree953f2154f6e3f5024d09bea9891a5629d2a7634a /contrib/jsonb_plpython/sql/jsonb_plpython.sql
parent2764d5dcfa84d240c901c20ec6e194f72d82b78a (diff)
downloadpostgresql-beff4bb9c7411cfd973e192df05c0c1f5c796d22.tar.gz
postgresql-beff4bb9c7411cfd973e192df05c0c1f5c796d22.zip
Teach configure --with-python to report the Python version number.
We already do this for Perl and some other interesting tools, so it seems sensible to do it for Python as well, especially since the sub-release number is never determinable from other configure output and even the major/minor numbers may not be clear without excavation in config.log. While at it, get rid of the code's assumption that both the major and minor numbers contain exactly one digit. That will foreseeably be broken by Python 3.10 in perhaps four or five years. That's far enough out that we probably don't need to back-patch this. Discussion: https://postgr.es/m/2186.1522681145@sss.pgh.pa.us
Diffstat (limited to 'contrib/jsonb_plpython/sql/jsonb_plpython.sql')
0 files changed, 0 insertions, 0 deletions