summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorPeter Eisentraut2016-12-27 17:00:00 +0000
committerPeter Eisentraut2017-01-17 17:35:30 +0000
commit6fc547960dbe0b8bd6cefae5ab7ec3605a5c46fc (patch)
tree3e7fd468eef6ced8babfbd9afbf07e74415a335f /contrib
parent30b9a4495a8ec1f20ba518b34d679c700eadab16 (diff)
Rename C symbols for backend lo_ functions
Rename the C symbols for lo_* to be_lo_*, so they don't conflict with libpq prototypes. Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/lo/lo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/lo/lo.c b/contrib/lo/lo.c
index 953659305f..85e67130bb 100644
--- a/contrib/lo/lo.c
+++ b/contrib/lo/lo.c
@@ -82,7 +82,7 @@ lo_manage(PG_FUNCTION_ARGS)
char *newv = SPI_getvalue(newtuple, tupdesc, attnum);
if (orig != NULL && (newv == NULL || strcmp(orig, newv) != 0))
- DirectFunctionCall1(lo_unlink,
+ DirectFunctionCall1(be_lo_unlink,
ObjectIdGetDatum(atooid(orig)));
if (newv)
@@ -102,7 +102,7 @@ lo_manage(PG_FUNCTION_ARGS)
if (orig != NULL)
{
- DirectFunctionCall1(lo_unlink,
+ DirectFunctionCall1(be_lo_unlink,
ObjectIdGetDatum(atooid(orig)));
pfree(orig);