Fix bit-rotted reference to GetUserName() ...

it's GetUserNameFromId() now.
This commit is contained in:
Tom Lane 2002-09-05 21:13:03 +00:00
parent bed4f65499
commit 8d7904f526
1 changed files with 1 additions and 1 deletions

View File

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