Segfault-Inc / Multicorn

Data Access Library
https://multicorn.org/
PostgreSQL License
701 stars 145 forks source link

Update for changes to PostgreSQL 9.6 API #137

Closed jeffjanes closed 7 years ago

areshatau commented 8 years ago

+1 for this PR

After applying patch Multicorn successfully build against PostgreSQL 9.6. Thanks @jeffjanes

codekoala commented 7 years ago

This PR works with PostgreSQL 9.6 RC1 for my purposes. Here's a sample Dockerfile that I used to test:

FROM postgres:9.6

ARG DEBIAN_FRONTEND=noninteractive

RUN apt-get update && \
    apt-get install -y build-essential postgresql-server-dev-9.6 python-dev git && \
    apt-get clean

RUN git clone -b 9_6 https://github.com/jeffjanes/Multicorn.git /root/Multicorn && \
    cd /root/Multicorn && \
    make && \
    make install

COPY myfdw.py /usr/local/lib/python2.7/dist-packages/myfdw.py
rdunklau commented 7 years ago

Thank you for this PR ! I was hoping the long undergoing rewrite would be ready for 9.6, but alas it's taking more time than expected