Segfault-Inc / Multicorn

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

Build error against PostgreSQL 14 #269

Open devrimgunduz opened 3 years ago

devrimgunduz commented 3 years ago

Hi, 1.4.0 fails to build also against PostgreSQL 14. Log is attached. Can you please take a look?

Regards, Devrim

multicorn-pg14.txt

devrimgunduz commented 3 years ago

Anyone around?

devrimgunduz commented 3 years ago

ping.

fjf2002 commented 2 years ago

I'm having the same problem.

devrimgunduz commented 2 years ago

Anyone around ?

fjf2002 commented 2 years ago

I have forked this repo and tried to make it compatible with PostgreSQL 14 (and Python 3.9) experimentally at https://github.com/fjf2002/Multicorn .

Disclaimer: I am not sure what I am doing. I think PostgreSQL extension experts are needed.

What I have done:

fjf2002 commented 2 years ago

Any news here?

df7cb commented 2 years ago

The state is still that someone needs to fix all the problems. Does your fork work now?

fjf2002 commented 2 years ago

My fork works FOR ME. I just use SELECT to retreive some foreign tables. Please see my comment above, especially the sentences "as far as I understand ..."

fjf2002 commented 2 years ago

https://github.com/pgsql-io/Multicorn/commits/master and https://github.com/Segfault-Inc/Multicorn/pull/272 see to be further developed than mine (https://github.com/fjf2002/Multicorn). Take them.

denishpatel commented 2 years ago

@devrimgunduz @df7cb @fjf2002 is anyone able to build multicorn with Postgres 14 yet? Any pointers and help will be appreciated.

fjf2002 commented 2 years ago

@denishpatel: Affirmative. My build code is approx.

    apt-get install -y build-essential postgresql-server-dev-14 python3-dev python3-setuptools
    # anticipating a following installation error "dir not found":
    mkdir -p /usr/share/doc/postgresql-doc-14/extension
    cd /usr/local/src/
    wget https://github.com/credativ/Multicorn/archive/refs/heads/pg14.zip
    unzip pg14.zip
    cd Multicorn-pg14
    # silence python3 complaints
    echo > preflight-check.sh
    make
    make install
denishpatel commented 2 years ago

@fjf2002 Thanks for the details. However, it looks like you disabled WHERE clause push down so it's not working for my case because i'm using Multicorn for BigQuery FDW. Is it easy to enable WHERE push down?

fjf2002 commented 2 years ago

@denishpatel: Look closely at my build code. I abandoned https://github.com/fjf2002/Multicorn, instead use the https://github.com/credativ/Multicorn fork. Whether this fork can pushdown conditions I do not know.

denishpatel commented 2 years ago

@fjf2002 Thanks. Looks like WIP patch might have broke WHERE clause condition https://github.com/credativ/Multicorn/commit/4bde5a11b34cb9337e3e58029669e0d2cb090fd6 /cc @df7cb

luss commented 2 years ago

In pgsql-io/multicorn, I've got the code in the master branch now compiling against PG14. Now on to testing.

df7cb commented 2 years ago

@fjf2002 Thanks. Looks like WIP patch might have broke WHERE clause condition credativ@4bde5a1 /cc @df7cb

It's still WIP, I never claimed it was finished...

I eventually gave up on fixing it since the project was pretty dead in general.

luss commented 2 years ago

pgsql-io/multicorn2 is now up to version 2.2 and is working for pg14 including WHERE pushdowns. More testing by others is needed.

fjf2002 commented 2 years ago

@luss Thanks, I have switched to pgsql-io/multicorn2. It works - but I am just using ldap with a simple SELECT.

cerdman commented 2 years ago

Any updates on this ?

luss commented 1 year ago

My update is that Multicorn2 is alive and well at https://github.com/oscg-io/multicorn2. It builds and works with both pg13 & pg14. We incorporated pull requests from this repo for buildin with pg13 and we developed our own for building with pg14. Segfault-Inc is out of business. We are trying to carry on with the good work that they did.

On Sun, Aug 7, 2022 at 12:11 AM colin b. erdman @.***> wrote:

Any updates on this ?

— Reply to this email directly, view it on GitHub https://github.com/Segfault-Inc/Multicorn/issues/269#issuecomment-1207327456, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMWOHVCQX54YCLP4WVZZZLVX4ZQ5ANCNFSM46BZKJLA . You are receiving this because you were mentioned.Message ID: @.***>

fjf2002 commented 1 year ago

@luss: Your link does not work, at least for me. Private Repo?