X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 899D9DB4A2 for ; Thu, 17 Nov 2005 20:34:33 -0400 (AST) 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 90150-04 for ; Fri, 18 Nov 2005 00:34:35 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id 4C1DEDB9CD for ; Thu, 17 Nov 2005 20:34:30 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id jAI0YUO23634; Thu, 17 Nov 2005 19:34:30 -0500 (EST) From: Bruce Momjian Message-Id: <200511180034.jAI0YUO23634@candle.pha.pa.us> Subject: Re: Incremental results from libpq In-Reply-To: <4001DEAF7DF9BD498B58B45051FBEA6502EF5628@25exch1.vicorpower.vicr.com> To: "Goulet, Dick" Date: Thu, 17 Nov 2005 19:34:30 -0500 (EST) CC: Alvaro Herrera , Tom Lane , Peter Eisentraut , pgsql-interfaces@postgresql.org, Scott Lamb X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.039 required=5 tests=[AWL=0.039] X-Spam-Score: 0.039 X-Spam-Level: X-Archive-Number: 200511/49 X-Sequence-Number: 5845 Goulet, Dick wrote: > Alvaro, > > You are quite correct, which is functionally the only > difference. Personally I don't think that really amounts to "a hill of > beans". The functionality is the same, even if the syntax is a touch > different. Course, I didn't get a chance to tinker with this, but in > Oracle a global temp table can have indexes and constraints. Is the > same true in Postgresql?? I've found it to be a performance improver > where your loading the temp table with thousands of rows. Sure, you can create TEMPORARY anything, and because each backend has its own table, performance is better. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073