Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 22A612E0122 for ; Sat, 23 Feb 2008 11:29:37 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 56776-04 for ; Sat, 23 Feb 2008 11:29:33 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.mailpen.net (mail.mailpen.net [209.90.228.14]) by postgresql.org (Postfix) with ESMTP id A800D2E0124 for ; Sat, 23 Feb 2008 11:29:33 -0400 (AST) Received: from [172.24.2.1] (pool-71-113-24-134.sttlwa.dsl-w.verizon.net [71.113.24.134]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.mailpen.net (Postfix) with ESMTP id 695BD2FE802 for ; Sat, 23 Feb 2008 07:29:31 -0800 (PST) Message-ID: <47C03BF3.7070807@ultimeth.com> Date: Sat, 23 Feb 2008 07:29:55 -0800 From: "Dean Gibson (DB Administrator)" Organization: UltiMeth Systems User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Q on views and performance References: <47BF7B80.1040309@ultimeth.com> <47C03709.5010205@ultimeth.com> In-Reply-To: <47C03709.5010205@ultimeth.com> Content-Type: multipart/alternative; boundary="------------000609000008080400090500" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/296 X-Sequence-Number: 28838 This is a multi-part message in MIME format. --------------000609000008080400090500 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2008-02-23 07:08, Dean Gibson (DB Administrator) wrote: > ... > > > SELECT word1, word1 > FROM S JOIN txt ON word = word1 > WHERE type1 = AND type2 = ; > > ... Oops that should be: SELECT word1, word2 FROM S JOIN txt ON word = word1 WHERE type1 = AND type2 = ; -- Mail to my list address MUST be sent via the mailing list. All other mail to my list address will bounce. --------------000609000008080400090500 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit On 2008-02-23 07:08, Dean Gibson (DB Administrator) wrote:
...


SELECT word1, word1
  FROM S JOIN txt ON word = word1

  WHERE type1 = <int1> AND type2 = <int2>;


...
Oops that should be:

SELECT word1, word2
  FROM S JOIN txt ON word = word1

  WHERE type1 = <int1> AND type2 = <int2>;



-- 
Mail to my list address MUST be sent via the mailing list.
All other mail to my list address will bounce.
--------------000609000008080400090500--