aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/syscache.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-02-25 13:09:49 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-02-25 13:09:49 +0000
commit780068f812a61e73b2474f7f025b28309a2f1840 (patch)
tree7d1db588478714e434ced675e55af8101f94f3fb /src/backend/utils/cache/syscache.c
parentd067f83b274adffb3415a8a41dd8bdc71bc87620 (diff)
downloadpostgresql-780068f812a61e73b2474f7f025b28309a2f1840.tar.gz
postgresql-780068f812a61e73b2474f7f025b28309a2f1840.zip
From: Jan Wieck <jwieck@debis.com>
seems that my last post didn't make it through. That's good since the diff itself didn't covered the renaming of pg_user.h to pg_shadow.h and it's new content. Here it's again. The complete regression test passwd with only some float diffs. createuser and destroyuser work. pg_shadow cannot be read by ordinary user.
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
-rw-r--r--src/backend/utils/cache/syscache.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c
index e1b01f735bd..6f028de93ac 100644
--- a/src/backend/utils/cache/syscache.c
+++ b/src/backend/utils/cache/syscache.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.14 1998/02/11 19:12:49 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.15 1998/02/25 13:07:50 scrappy Exp $
*
* NOTES
* These routines allow the parser/planner/executor to perform
@@ -48,7 +48,7 @@
#include "catalog/pg_type.h"
#include "catalog/pg_rewrite.h"
#include "catalog/pg_aggregate.h"
-#include "catalog/pg_user.h"
+#include "catalog/pg_shadow.h"
#include "storage/large_object.h"
#include "catalog/pg_listener.h"
@@ -254,22 +254,22 @@ static struct cachedesc cacheinfo[] = {
sizeof(FormData_pg_listener),
NULL,
(ScanFunc) NULL},
- {UserRelationName, /* USENAME */
+ {ShadowRelationName, /* USENAME */
1,
- {Anum_pg_user_usename,
+ {Anum_pg_shadow_usename,
0,
0,
0},
- sizeof(FormData_pg_user),
+ sizeof(FormData_pg_shadow),
NULL,
(ScanFunc) NULL},
- {UserRelationName, /* USESYSID */
+ {ShadowRelationName, /* USESYSID */
1,
- {Anum_pg_user_usesysid,
+ {Anum_pg_shadow_usesysid,
0,
0,
0},
- sizeof(FormData_pg_user),
+ sizeof(FormData_pg_shadow),
NULL,
(ScanFunc) NULL},
{GroupRelationName, /* GRONAME */