X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CDFA93A4A19 for ; Fri, 19 Nov 2004 15:08:23 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 33010-07 for ; Fri, 19 Nov 2004 15:08:13 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id C48853A4B57 for ; Fri, 19 Nov 2004 15:08:16 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id iAJF8Fht027903; Fri, 19 Nov 2004 10:08:16 -0500 (EST) To: abief_ag_-postgresql@yahoo.com Cc: pgsql-sql@postgresql.org Subject: Re: CREATE TEMPORARY TABLE .. ON COMMIT DROP question In-reply-to: <20041119140548.37139.qmail@web13904.mail.yahoo.com> References: <20041119140548.37139.qmail@web13904.mail.yahoo.com> Comments: In-reply-to "Riccardo G. Facchini" message dated "Fri, 19 Nov 2004 06:05:47 -0800" Date: Fri, 19 Nov 2004 10:08:15 -0500 Message-ID: <27902.1100876895@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/194 X-Sequence-Number: 19513 "Riccardo G. Facchini" writes: > I'm trying to understand where the "[ ON COMMIT { PRESERVE ROWS | > DELETE ROWS | DROP } ]" is stored when defining a temporary table. I don't believe it's stored anyplace visible :-(. There's some private state in the memory of the backend that owns the table. Look into commands/tablecmds.c. regards, tom lane