From: arutar@bk.ru
To: pgsql-docs@postgresql.org
Subject: Building extension on Windows
Date: Thu, 01 Jun 2017 08:08:50 +0000
Message-ID: <20170601080850.1488.61113@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.6/static/xfunc-c.html
Description:
Does the macros PG_FUNCTION_INFO_V1 work properly on windows?
Using visual studio 2013 on windows os,the full function definition must
look like that:
PGDLLEXPORT Datum Test(PG_FUNCTION_ARGS);
PG_FUNCTION_INFO_V1(Test);
Datum Test(PG_FUNCTION_ARGS){
}
And some specific flags must be set on the project settings.
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: arutar@bk.ru
Subject: Re: Building extension on Windows
In-Reply-To: <20170601080850.1488.61113@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox