version 0 calling convention

From: Mark Lybarger <mlybarger(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: version 0 calling convention
Date: 2021-07-22 16:18:51
Message-ID: CAKM-gmKKb7WrOtxCHjV-qwOyV_cdZQbY0ewhtaoUkoVqJD-2iA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

i have some sql functions written in c code using version 0 calling
convention. it's working fine on postgresql 9.6, but i'm migrating to
v13. has this calling convention been removed?

my function creation give an error,

SQL Error [42883]: ERROR: could not find function information for function
"test_func"
Hint: SQL-callable functions need an accompanying
PG_FUNCTION_INFO_V1(funcname).

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2021-07-22 16:21:27 Re: version 0 calling convention
Previous Message Marcin Barczynski 2021-07-22 15:08:25 Re: Why does VACUUM FULL pg_class sometimes wait for ShareLock on another transaction after getting AccessExclusiveLock on pg_class?