mirror of
https://github.com/postgres/postgres.git
synced 2025-06-03 01:21:48 +03:00
Fix bit-rotted reference to GetUserName() ...
it's GetUserNameFromId() now.
This commit is contained in:
parent
bed4f65499
commit
8d7904f526
@ -65,7 +65,7 @@ insert_username(PG_FUNCTION_ARGS)
|
||||
|
||||
/* create fields containing name */
|
||||
newval = DirectFunctionCall1(textin,
|
||||
CStringGetDatum(GetUserName(GetUserId())));
|
||||
CStringGetDatum(GetUserNameFromId(GetUserId())));
|
||||
|
||||
/* construct new tuple */
|
||||
rettuple = SPI_modifytuple(rel, rettuple, 1, &attnum, &newval, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user