]> granicus.if.org Git - postgresql/blobdiff - src/backend/utils/adt/acl.c
Add pg_statistic index, add missing Hiroshi file.
[postgresql] / src / backend / utils / adt / acl.c
index 15db9b30416f0d2f3479493a7c3dcbb487de879a..ee3c41ace6cc08d4d3e698043461c6514dc4b231 100644 (file)
@@ -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))