From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | TalGloz <glozmantal(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Compiling C Extension Functions against PostgreSQL 12 |
Date: | 2020-05-02 19:55:15 |
Message-ID: | 1b0a4606-2964-48ef-0736-ff51db2d2e1d@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 5/2/20 12:39 PM, TalGloz wrote:
> Adrian Klaver-4 wrote
>> On 5/2/20 12:28 PM, TalGloz wrote:
>>> I'm trying to upgrade from PostgreSQL 10 to 12 and I need to compile all
>>> my
>>> manually created C extension functions against PostrgreSQL 12 before
>>> starting the upgrade process. I have this Makefile that compiles
>>> perfectly
>>> the seal_diff_cpp.cpp C extension function against PostgreSQL 10:
>>>
>
> Yes, I've installed everything PostgreSQL 12 has to offer:
>
> dnf list installed | grep "postgresql12"
> postgresql12.x86_64 12.2-2PGDG.f31
> @pgdg12
> postgresql12-contrib.x86_64 12.2-2PGDG.f31
> @pgdg12
> postgresql12-devel.x86_64 12.2-2PGDG.f31
> @pgdg12
Yeah, I missed part in your OP where said postgres.h was there. So:
1) Did you do both makes in the same directory?
2) If so did you do a make clean between builds?
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | TalGloz | 2020-05-02 20:03:22 | Re: Compiling C Extension Functions against PostgreSQL 12 |
Previous Message | TalGloz | 2020-05-02 19:39:14 | Re: Compiling C Extension Functions against PostgreSQL 12 |