Problem with compiling extensions with Postgres Version 13

From: Eric Svenson <esvenson74(at)googlemail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Problem with compiling extensions with Postgres Version 13
Date: 2020-11-18 13:46:40
Message-ID: CABhsftjkg_qG_cW+Ebav3CExojCCgaiq0AwEK+qgBkeYAUsW2g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paul Förster 2020-11-18 13:56:30 Re: vacuum vs vacuum full
Previous Message Leo Jin 2020-11-18 13:44:10 Re: Race condition with restore_command on streaming replica