1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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>
This commit is contained in:
Peter Eisentraut
2016-12-27 12:00:00 -05:00
parent 30b9a4495a
commit 6fc547960d
5 changed files with 63 additions and 63 deletions

View File

@ -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);