Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 75B31B5DC54 for ; Fri, 8 Jul 2011 11:18:16 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 79917-02 for ; Fri, 8 Jul 2011 14:18:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 42431B5DC4E for ; Fri, 8 Jul 2011 11:18:10 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p68EI5IJ026339; Fri, 8 Jul 2011 10:18:05 -0400 (EDT) To: Alexander Korotkov cc: Heikki Linnakangas , pgsql-hackers Subject: Re: WIP: Fast GiST index build In-reply-to: References: <4DEC84D7.7040602@enterprisedb.com> <4DECB141.2040707@enterprisedb.com> <4DF8676F.9040801@enterprisedb.com> <4DFA4AE5.1010806@enterprisedb.com> <4E044D68.5070605@enterprisedb.com> <4E0894FF.8080202@enterprisedb.com> <{ h@ 4 Comments: In-reply-to Alexander Korotkov message dated "Fri, 08 Jul 2011 13:32:39 +0400" Date: Fri, 08 Jul 2011 10:18:05 -0400 Message-ID: <26338.1310134685@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201107/399 X-Sequence-Number: 191498 Alexander Korotkov writes: > I found that results of previous tests with USNOA2 were not fully correct. > Tables for tests with various parameters contained tuples in different > order. I assumed that query > CREATE TABLE tab2 AS (SELECT * FROM tab1); > creates tab2 as exact copy of tab1, i.e. tab2 contain tuples in same order > as tab1. But actually, it isn't always so. In aggregate with only few used > test cases it can cause significant error. For test purposes, you could turn off synchronize_seqscans to prevent that. regards, tom lane