pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Kris Jurka <books@ejurka.com>
Cc: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: WAL logging of SELECT ... INTO command
Date: Fri, 24 Mar 2006 04:05:14 -0600
Message-ID: <20060324100514.GN90527@pervasive.com> (raw)
In-Reply-To: <Pine.BSO.4.63.0603221432320.4790@leary.csoft.net>
References: <20060321122211.GU15742@pervasive.com>
	<1142973230.24487.501.camel@localhost.localdomain>
	<20060322124732.GA15742@pervasive.com>
	<Pine.BSO.4.63.0603221432320.4790@leary.csoft.net>

On Wed, Mar 22, 2006 at 02:37:28PM -0500, Kris Jurka wrote:
> 
> 
> 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

I'll argue that the current behavior is still a bug and should be fixed.
Would it be difficult to patch 8.1 (and 8.0 if there were tablespaces
then...) to honor default_tablespace?
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (21+ messages)  latest in thread

Message-ID: <20060324100514.GN90527@pervasive.com>
Permalink:  ../20060324100514.GN90527@pervasive.com/
Also on:    postgresql.org/message-id/20060324100514.GN90527@pervasive.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jnasby@pervasive.com, books@ejurka.com, simon@2ndquadrant.com
  Subject: Re: WAL logging of SELECT ... INTO command
  In-Reply-To: <20060324100514.GN90527@pervasive.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox