<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;">
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<style>body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body style="direction: ltr;"
bidimailui-detected-decoding-type="latin-charset" bgcolor="#ffffff"
text="#000000">
On 08/14/2011 05:39 PM, W. Matthew Wilson wrote:<br>
<blockquote
cite="mid:CAGHfCUDQc8RywD1_qa1_d3K3pFA5mGa4y5dyWh+ysdAgAgzfPg(at)mail(dot)gmail(dot)com"
type="cite">
<pre wrap="">Is there anything dangerous about making temporary tables in this way?
Matt
</pre>
</blockquote>
<p>The only dangerous thing I have encountered with temp tables is
that the planner compiles the table oid into the plan and if you
run a function after the table has been dropped and recreated it
will tell you that the table doesn't exist. This is from 8.2 and
lower, I haven't checked if this is still a problem in more recent
versions.</p>
<p><br>
</p>
<p>Sim<br>
</p>
</body>
</html>