Problem with compiling extensions with Postgres Version 13 - Mailing list pgsql-general

From Eric Svenson
Subject Problem with compiling extensions with Postgres Version 13
Date
Msg-id CABhsftjkg_qG_cW+Ebav3CExojCCgaiq0AwEK+qgBkeYAUsW2g@mail.gmail.com
Whole thread Raw
Responses Re: Problem with compiling extensions with Postgres Version 13  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-general

Hello,

I am not really sure if I am in the right mailing list, but I try it here first.

I have written a postgres C extension as DLL which was used with Postgres 9.2 successfully.

Now I am trying to upgrade to Postgres 13 but I ran into a compile problem.

The function

PG_GETARG_BYTEA_P 

causes the compile error

error LNK2019: unresolved external symbol _pg_detoast_datum referenced in function _compressBytea

The Compiler is
Microsoft Visual Studio 2010 
Windows 10

Any idea what to do? Is PG_GETARG_BYTEA_P obsolete?

Best regards,
Eric

pgsql-general by date:

Previous
From: Leo Jin
Date:
Subject: Re: Race condition with restore_command on streaming replica
Next
From: Paul Förster
Date:
Subject: Re: vacuum vs vacuum full