postgresql/src/backend/commands
Robert Haas 5f7b58fad8 Generalize concept of temporary relations to "relation persistence".
This commit replaces pg_class.relistemp with pg_class.relpersistence;
and also modifies the RangeVar node type to carry relpersistence rather
than istemp.  It also removes removes rd_istemp from RelationData and
instead performs the correct computation based on relpersistence.

For clarity, we add three new macros: RelationNeedsWAL(),
RelationUsesLocalBuffers(), and RelationUsesTempNamespace(), so that we
can clarify the purpose of each check that previous depended on
rd_istemp.

This is intended as infrastructure for the upcoming unlogged tables
patch, as well as for future possible work on global temporary tables.
2010-12-13 12:34:26 -05:00
..
Makefile Add a SECURITY LABEL command. 2010-09-27 20:55:27 -04:00
aggregatecmds.c Refactor typenameTypeId() 2010-10-25 21:44:49 +03:00
alter.c Add more ALTER <object> .. SET SCHEMA commands. 2010-11-26 17:31:54 -05:00
analyze.c Repair memory leakage while ANALYZE-ing complex index expressions. 2010-11-09 11:55:13 -05:00
async.c ProcessIncomingNotify *must* reset notifyInterruptOccurred when called. 2010-09-23 17:16:51 -04:00
cluster.c Generalize concept of temporary relations to "relation persistence". 2010-12-13 12:34:26 -05:00
comment.c Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
constraint.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
conversioncmds.c Add more ALTER <object> .. SET SCHEMA commands. 2010-11-26 17:31:54 -05:00
copy.c Use symbolic names not octal constants for file permission flags. 2010-12-10 17:35:33 -05:00
dbcommands.c Object access hook framework, with post-creation hook. 2010-11-25 11:50:13 -05:00
define.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
discard.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
explain.c Put only single space after "Sort Method:", for consistency 2010-12-06 13:35:47 +02:00
foreigncmds.c Object access hook framework, with post-creation hook. 2010-11-25 11:50:13 -05:00
functioncmds.c Object access hook framework, with post-creation hook. 2010-11-25 11:50:13 -05:00
indexcmds.c Generalize concept of temporary relations to "relation persistence". 2010-12-13 12:34:26 -05:00
lockcmds.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
opclasscmds.c Add more ALTER <object> .. SET SCHEMA commands. 2010-11-26 17:31:54 -05:00
operatorcmds.c Add more ALTER <object> .. SET SCHEMA commands. 2010-11-26 17:31:54 -05:00
portalcmds.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
prepare.c Refactor typenameTypeId() 2010-10-25 21:44:49 +03:00
proclang.c Object access hook framework, with post-creation hook. 2010-11-25 11:50:13 -05:00
schemacmds.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
seclabel.c Fix dumb typo in SECURITY LABEL error message. 2010-10-26 14:55:18 -04:00
sequence.c Generalize concept of temporary relations to "relation persistence". 2010-12-13 12:34:26 -05:00
tablecmds.c Generalize concept of temporary relations to "relation persistence". 2010-12-13 12:34:26 -05:00
tablespace.c Generalize concept of temporary relations to "relation persistence". 2010-12-13 12:34:26 -05:00
trigger.c Object access hook framework, with post-creation hook. 2010-11-25 11:50:13 -05:00
tsearchcmds.c Add more ALTER <object> .. SET SCHEMA commands. 2010-11-26 17:31:54 -05:00
typecmds.c Centralize some ALTER <whatever> .. SET SCHEMA checks. 2010-11-22 19:53:34 -05:00
user.c Object access hook framework, with post-creation hook. 2010-11-25 11:50:13 -05:00
vacuum.c Remove unused parameter. Patch by Shigeru Hanada. 2010-11-18 10:05:17 +02:00
vacuumlazy.c Generalize concept of temporary relations to "relation persistence". 2010-12-13 12:34:26 -05:00
variable.c Prevent show_session_authorization from crashing when session_authorization 2010-09-23 16:53:16 -04:00
view.c Generalize concept of temporary relations to "relation persistence". 2010-12-13 12:34:26 -05:00