projects
/
plproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac0ba7
)
Another get_role_oid() fixup
author
Marko Kreen
<markokr@gmail.com>
Fri, 13 Apr 2012 10:03:01 +0000
(13:03 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Fri, 13 Apr 2012 10:03:01 +0000
(13:03 +0300)
src/cluster.c
patch
|
blob
|
blame
|
history
diff --git
a/src/cluster.c
b/src/cluster.c
index c975d6f9cda7feb33742ce9ed502e1058904e79e..caff10e281ddf20606f3184cc0ec7f4adaf76b89 100644
(file)
--- a/
src/cluster.c
+++ b/
src/cluster.c
@@
-970,7
+970,7
@@
get_role_oid(const char *rolname, bool missing_ok)
{
Oid oid;
- oid = GetSysCacheOid
1(AUTHNAME, CStringGetDatum(rolname)
);
+ oid = GetSysCacheOid
(AUTHNAME, CStringGetDatum(rolname), 0, 0, 0
);
if (!OidIsValid(oid) && !missing_ok)
ereport(ERROR,
(errcode(ERRCODE_UNDEFINED_OBJECT),