X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 774239DD755 for ; Wed, 22 Mar 2006 15:37:34 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 26031-04 for ; Wed, 22 Mar 2006 15:37:33 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with SMTP id E3E719DD742 for ; Wed, 22 Mar 2006 15:37:28 -0400 (AST) Received: (qmail 25254 invoked by uid 1112); 22 Mar 2006 19:37:28 -0000 Date: Wed, 22 Mar 2006 14:37:28 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: "Jim C. Nasby" cc: Simon Riggs , pgsql-performance@postgresql.org Subject: Re: WAL logging of SELECT ... INTO command In-Reply-To: <20060322124732.GA15742@pervasive.com> Message-ID: References: <20060321122211.GU15742@pervasive.com> <1142973230.24487.501.camel@localhost.localdomain> <20060322124732.GA15742@pervasive.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.118 required=5 tests=[AWL=0.118] X-Spam-Score: 0.118 X-Spam-Level: X-Archive-Number: 200603/464 X-Sequence-Number: 17901 On Wed, 22 Mar 2006, Jim C. Nasby wrote: > Ok, I saw disk activity on the base directory and assumed it was pg_xlog > stuff. Turns out that both SELECT INTO and CREATE TABLE AS ignore > default_tablepsace and create the new tables in the base directory. I'm > guessing that's a bug... (this is on 8.1.2, btw). This has been fixed in CVS HEAD as part of a patch to allow additional options to CREATE TABLE AS. http://archives.postgresql.org/pgsql-patches/2006-02/msg00211.php Kris Jurka