Re: CREATE TEMPORARY TABLE .. ON COMMIT DROP question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: abief_ag_-postgresql(at)yahoo(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: CREATE TEMPORARY TABLE .. ON COMMIT DROP question
Date: 2004-11-19 15:08:15
Message-ID: 27902.1100876895@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Riccardo G. Facchini" <abief_ag_-postgresql(at)yahoo(dot)com> 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Riccardo G. Facchini 2004-11-19 15:54:50 Re: CREATE TEMPORARY TABLE .. ON COMMIT DROP question
Previous Message Riccardo G. Facchini 2004-11-19 14:05:47 CREATE TEMPORARY TABLE .. ON COMMIT DROP question