Add a "relistemp" boolean column to pg_class, which is true for temporary
Tom Lane <tgl@sss.pgh.pa.us>
Add a "relistemp" boolean column to pg_class, which is true for temporary relations (including a temp table's indexes and toast table/index), and false for normal relations. For ease of checking, this commit just adds the column and fills it correctly --- revising the relation access machinery to use it will come separately.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +11 −1 |
| src/backend/catalog/heap.c | modified | +2 −1 |
| src/backend/utils/cache/relcache.c | modified | +10 −1 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_attribute.h | modified | +25 −23 |
| src/include/catalog/pg_class.h | modified | +19 −17 |