Re: Error running custom plugin: “output plugins have to declare the _PG_output_plugin_init symbol” - Mailing list pgsql-hackers

From valeriof
Subject Re: Error running custom plugin: “output plugins have to declare the _PG_output_plugin_init symbol”
Date
Msg-id 1474369337193-5921898.post@n3.nabble.com
Whole thread Raw
In response to Re: [HACKERS] Error running custom plugin: “output plugins have to declare the _PG_output_plugin_init symbol”  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Responses Re: [HACKERS] Error running custom plugin: “output plugins have to declare the _PG_output_plugin_init symbol”
List pgsql-hackers
Hi Ashutosh,
Thank you for your answer. At the end I realized that the PGDLLEXPORT
keyword was missing from the functions definitions.

As a side question, what are the options to debug the plugin while it's
being executing? I've seen a debug plugin for Postgres but it seems more for
SQL functions and stored procedures. Is it possible to attach the process
from Visual Studio debugger?

Thanks,
Valerio



--
View this message in context:
http://postgresql.nabble.com/Error-running-custom-plugin-output-plugins-have-to-declare-the-PG-output-plugin-init-symbol-tp5921145p5921898.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.



pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: Partition-wise join for join between (declaratively) partitioned tables
Next
From: Alex Ignatov
Date:
Subject: Re: Parallel sec scan in plpgsql