Thread

Commits

  1. Remove unneeded Python includes

  1. Python 3.11 vs. Postgres

    Tom Lane <tgl@sss.pgh.pa.us> — 2021-11-24T03:07:03Z

    According to [1], we need to stop including Python's <eval.h>.
    I've not checked whether this creates any backwards-compatibility
    issues.
    
    			regards, tom lane
    
    [1] https://bugzilla.redhat.com/show_bug.cgi?id=2023272
    
    
    
    
  2. Re: Python 3.11 vs. Postgres

    Peter Eisentraut <peter.eisentraut@enterprisedb.com> — 2021-11-24T07:24:52Z

    On 24.11.21 04:07, Tom Lane wrote:
    > According to [1], we need to stop including Python's <eval.h>.
    > I've not checked whether this creates any backwards-compatibility
    > issues.
    > 
    > 			regards, tom lane
    > 
    > [1] https://bugzilla.redhat.com/show_bug.cgi?id=2023272
    
    See attached patch.  The minimum Python version for this change is 2.4, 
    which is the oldest version supported by PG10, so we can backpatch this 
    to all live branches.
  3. Re: Python 3.11 vs. Postgres

    Tom Lane <tgl@sss.pgh.pa.us> — 2021-11-24T17:39:51Z

    Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
    > On 24.11.21 04:07, Tom Lane wrote:
    >> According to [1], we need to stop including Python's <eval.h>.
    
    > See attached patch.  The minimum Python version for this change is 2.4, 
    > which is the oldest version supported by PG10, so we can backpatch this 
    > to all live branches.
    
    LGTM.  Tested with v10 and prairiedog's Python 2.4.1.
    
    			regards, tom lane