Building extension on Windows

From: arutar(at)bk(dot)ru
To: pgsql-docs(at)postgresql(dot)org
Subject: Building extension on Windows
Date: 2017-06-01 08:08:50
Message-ID: 20170601080850.1488.61113@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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.

Browse pgsql-docs by date

  From Date Subject
Next Message Shashi Singh 2017-06-01 08:44:06 Row movement in Subpartition in postgres
Previous Message Tatsuo Ishii 2017-05-31 08:40:12 "Comparison of Different Solutions"