aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/acl.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-11-24 16:52:50 +0000
committerBruce Momjian <bruce@momjian.us>1999-11-24 16:52:50 +0000
commit74f418eb9aeecbb34d004aae44e96df037f2dc25 (patch)
tree54a73119e8b6de840ff005b96ca4b991355952cb /src/backend/utils/adt/acl.c
parent61a93ed2da5adbacc57cc3b4b00805a7e3c868df (diff)
downloadpostgresql-74f418eb9aeecbb34d004aae44e96df037f2dc25.tar.gz
postgresql-74f418eb9aeecbb34d004aae44e96df037f2dc25.zip
Add pg_statistic index, add missing Hiroshi file.
Diffstat (limited to 'src/backend/utils/adt/acl.c')
-rw-r--r--src/backend/utils/adt/acl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/adt/acl.c b/src/backend/utils/adt/acl.c
index 15db9b30416..ee3c41ace6c 100644
--- a/src/backend/utils/adt/acl.c
+++ b/src/backend/utils/adt/acl.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.42 1999/11/22 17:56:28 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/acl.c,v 1.43 1999/11/24 16:52:37 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -170,7 +170,7 @@ aclparse(char *s, AclItem *aip, unsigned *modechg)
switch (aip->ai_idtype)
{
case ACL_IDTYPE_UID:
- htup = SearchSysCacheTuple(USERNAME,
+ htup = SearchSysCacheTuple(SHADOWNAME,
PointerGetDatum(name),
0, 0, 0);
if (!HeapTupleIsValid(htup))
@@ -281,7 +281,7 @@ aclitemout(AclItem *aip)
switch (aip->ai_idtype)
{
case ACL_IDTYPE_UID:
- htup = SearchSysCacheTuple(USERSYSID,
+ htup = SearchSysCacheTuple(SHADOWSYSID,
ObjectIdGetDatum(aip->ai_id),
0, 0, 0);
if (!HeapTupleIsValid(htup))