diff options
author | Peter Eisentraut | 2016-12-27 17:00:00 +0000 |
---|---|---|
committer | Peter Eisentraut | 2017-01-17 17:35:30 +0000 |
commit | 6fc547960dbe0b8bd6cefae5ab7ec3605a5c46fc (patch) | |
tree | 3e7fd468eef6ced8babfbd9afbf07e74415a335f /contrib | |
parent | 30b9a4495a8ec1f20ba518b34d679c700eadab16 (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.c | 4 |
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); |