projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bed4f65
)
Fix bit-rotted reference to GetUserName() ...
author
Tom Lane
Thu, 5 Sep 2002 21:13:03 +0000
(21:13 +0000)
committer
Tom Lane
Thu, 5 Sep 2002 21:13:03 +0000
(21:13 +0000)
it's GetUserNameFromId() now.
contrib/spi/insert_username.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/spi/insert_username.c
b/contrib/spi/insert_username.c
index 0bedaa98aedc9fa749ca82c90000e705135c3475..9c38fdb3a6687d6a2b07ba34ed8bd29840f44d36 100644
(file)
--- a/
contrib/spi/insert_username.c
+++ b/
contrib/spi/insert_username.c
@@
-65,7
+65,7
@@
insert_username(PG_FUNCTION_ARGS)
/* create fields containing name */
newval = DirectFunctionCall1(textin,
- CStringGetDatum(GetUserName(GetUserId())));
+ CStringGetDatum(GetUserName
FromId
(GetUserId())));
/* construct new tuple */
rettuple = SPI_modifytuple(rel, rettuple, 1, &attnum, &newval, NULL);