mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Remove RELKIND_UNCATALOGED.
This may have been important at some point in the past, but it no longer does anything useful. Review by Tom Lane.
This commit is contained in:
5
src/backend/utils/cache/relcache.c
vendored
5
src/backend/utils/cache/relcache.c
vendored
@ -2409,7 +2409,8 @@ RelationBuildLocalRelation(const char *relname,
|
||||
Oid reltablespace,
|
||||
bool shared_relation,
|
||||
bool mapped_relation,
|
||||
char relpersistence)
|
||||
char relpersistence,
|
||||
char relkind)
|
||||
{
|
||||
Relation rel;
|
||||
MemoryContext oldcxt;
|
||||
@ -2515,7 +2516,7 @@ RelationBuildLocalRelation(const char *relname,
|
||||
namestrcpy(&rel->rd_rel->relname, relname);
|
||||
rel->rd_rel->relnamespace = relnamespace;
|
||||
|
||||
rel->rd_rel->relkind = RELKIND_UNCATALOGED;
|
||||
rel->rd_rel->relkind = relkind;
|
||||
rel->rd_rel->relhasoids = rel->rd_att->tdhasoid;
|
||||
rel->rd_rel->relnatts = natts;
|
||||
rel->rd_rel->reltype = InvalidOid;
|
||||
|
Reference in New Issue
Block a user