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:
@ -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);
|
||||
|
Reference in New Issue
Block a user