mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Revert "Provide DLLEXPORT markers for C functions via PG_FUNCTION_INFO_V1 macro."
This reverts commit c8ead2a397
.
Seems there is no way to do this that doesn't cause MSVC to give
warnings, so let's just go back to the way we've been doing it.
Discussion: <11843.1478358206@sss.pgh.pa.us>
This commit is contained in:
@ -130,30 +130,30 @@ typedef struct
|
||||
|
||||
|
||||
/* use in array iterator */
|
||||
extern PGDLLEXPORT Datum ltree_isparent(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum ltree_risparent(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum ltq_regex(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum ltq_rregex(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum lt_q_regex(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum lt_q_rregex(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum ltxtq_exec(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum ltxtq_rexec(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum _ltq_regex(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum _ltq_rregex(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum _lt_q_regex(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum _lt_q_rregex(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum _ltxtq_exec(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum _ltxtq_rexec(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum _ltree_isparent(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum _ltree_risparent(PG_FUNCTION_ARGS);
|
||||
Datum ltree_isparent(PG_FUNCTION_ARGS);
|
||||
Datum ltree_risparent(PG_FUNCTION_ARGS);
|
||||
Datum ltq_regex(PG_FUNCTION_ARGS);
|
||||
Datum ltq_rregex(PG_FUNCTION_ARGS);
|
||||
Datum lt_q_regex(PG_FUNCTION_ARGS);
|
||||
Datum lt_q_rregex(PG_FUNCTION_ARGS);
|
||||
Datum ltxtq_exec(PG_FUNCTION_ARGS);
|
||||
Datum ltxtq_rexec(PG_FUNCTION_ARGS);
|
||||
Datum _ltq_regex(PG_FUNCTION_ARGS);
|
||||
Datum _ltq_rregex(PG_FUNCTION_ARGS);
|
||||
Datum _lt_q_regex(PG_FUNCTION_ARGS);
|
||||
Datum _lt_q_rregex(PG_FUNCTION_ARGS);
|
||||
Datum _ltxtq_exec(PG_FUNCTION_ARGS);
|
||||
Datum _ltxtq_rexec(PG_FUNCTION_ARGS);
|
||||
Datum _ltree_isparent(PG_FUNCTION_ARGS);
|
||||
Datum _ltree_risparent(PG_FUNCTION_ARGS);
|
||||
|
||||
/* Concatenation functions */
|
||||
extern PGDLLEXPORT Datum ltree_addltree(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum ltree_addtext(PG_FUNCTION_ARGS);
|
||||
extern PGDLLEXPORT Datum ltree_textadd(PG_FUNCTION_ARGS);
|
||||
Datum ltree_addltree(PG_FUNCTION_ARGS);
|
||||
Datum ltree_addtext(PG_FUNCTION_ARGS);
|
||||
Datum ltree_textadd(PG_FUNCTION_ARGS);
|
||||
|
||||
/* Util function */
|
||||
extern PGDLLEXPORT Datum ltree_in(PG_FUNCTION_ARGS);
|
||||
Datum ltree_in(PG_FUNCTION_ARGS);
|
||||
|
||||
bool ltree_execute(ITEM *curitem, void *checkval,
|
||||
bool calcnot, bool (*chkcond) (void *checkval, ITEM *val));
|
||||
|
Reference in New Issue
Block a user