Skip to content
Snippets Groups Projects
Commit 683c17b3 authored by Tom Lane's avatar Tom Lane
Browse files

Fix C++ incompatibilities in plpgsql's header files.

Rename some exposed parameters so that they don't conflict with
C++ reserved words.

Back-patch to all supported versions.

George Tarasov

Discussion: https://postgr.es/m/b517ec3918d645eb950505eac8dd434e@gaz-is.ru
parent 39c9efc1
No related branches found
No related tags found
No related merge requests found
......@@ -1077,7 +1077,7 @@ extern PLpgSQL_rec *plpgsql_build_record(const char *refname, int lineno,
extern int plpgsql_recognize_err_condition(const char *condname,
bool allow_sqlstate);
extern PLpgSQL_condition *plpgsql_parse_err_condition(char *condname);
extern void plpgsql_adddatum(PLpgSQL_datum *new);
extern void plpgsql_adddatum(PLpgSQL_datum *newdatum);
extern int plpgsql_add_initdatums(int **varnos);
extern void plpgsql_HashTableInit(void);
......@@ -1103,7 +1103,7 @@ extern Oid plpgsql_exec_get_datum_type(PLpgSQL_execstate *estate,
PLpgSQL_datum *datum);
extern void plpgsql_exec_get_datum_type_info(PLpgSQL_execstate *estate,
PLpgSQL_datum *datum,
Oid *typeid, int32 *typmod, Oid *collation);
Oid *typeId, int32 *typMod, Oid *collation);
/*
* Functions for namespace handling in pl_funcs.c
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment