summaryrefslogtreecommitdiff
path: root/src/backend/commands/command.c
diff options
context:
space:
mode:
authorBruce Momjian1999-11-22 17:56:41 +0000
committerBruce Momjian1999-11-22 17:56:41 +0000
commitfeba9a71e7ca118db94f490283239a38f9700a57 (patch)
treef2696b7696fcdf88f5dbb4f1379a2b31da4f9a31 /src/backend/commands/command.c
parent81d058ab479597cf6fd9b5e802827a13575e0728 (diff)
Add system indexes to match all caches.
Make all system indexes unique. Make all cache loads use system indexes. Rename *rel to *relid in inheritance tables. Rename cache names to be clearer.
Diffstat (limited to 'src/backend/commands/command.c')
-rw-r--r--src/backend/commands/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c
index 0d60ae2f24..2512a0aa89 100644
--- a/src/backend/commands/command.c
+++ b/src/backend/commands/command.c
@@ -438,7 +438,7 @@ PerformAddAttribute(char *relationName,
else
attnelems = 0;
- typeTuple = SearchSysCacheTuple(TYPNAME,
+ typeTuple = SearchSysCacheTuple(TYPENAME,
PointerGetDatum(typename),
0, 0, 0);
tform = (Form_pg_type) GETSTRUCT(typeTuple);