Add a "relistemp" boolean column to pg_class, which is true for temporary
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 31 Mar 2009 17:59:56 +0000 (17:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 31 Mar 2009 17:59:56 +0000 (17:59 +0000)
commit722c1dd97274598ddfcda3b770f5325297618c3a
tree7a88e560553d8b28f3642d2d7622c56b71f7f0f0
parentdda296002aa902b195b9cc1afbcdd56c2c715fb1
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.
doc/src/sgml/catalogs.sgml
src/backend/catalog/heap.c
src/backend/utils/cache/relcache.c
src/include/catalog/catversion.h
src/include/catalog/pg_attribute.h
src/include/catalog/pg_class.h