1
0
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:
Robert Haas
2012-06-14 09:47:30 -04:00
parent 7582e0be78
commit d2c86a1ccd
10 changed files with 9 additions and 19 deletions

View File

@ -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;