Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id C86B711F9D75 for ; Thu, 26 Jul 2012 21:58:38 -0300 (ADT) Received: from mail-gg0-f174.google.com ([209.85.161.174]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SuYt2-00053B-00 for pgsql-bugs@postgresql.org; Fri, 27 Jul 2012 00:58:37 +0000 Received: by gglu4 with SMTP id u4so2648309ggl.19 for ; Thu, 26 Jul 2012 17:58:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=as3G7DQch0F6Wit/MogNeZguovfSTk+d91Tn/6JFkjI=; b=Ev99p9jZBOXaAcoa5BbVrdX5evoxp1Bh8EyCAViwK6hozvs3nivjp05Rg4yLO/pD/Y 40ATTwld9pkih1jsUt3Dn4EiblO5VmdsAeoM2+N7fXrNNZSWAhnAhnAl2poqXsCE4f7G bBf/R09imcA8DrOsSBOsPfbnhRzgGL/cgSza0tiCe/v1mgql/56rp+xRWOx2L1B4HocE Py5TglvIHvGZmk8nanLV8EL840smR5rU1r0IL7ZI4FHk4bcmYqgYZTCsMBgfUvD7EZtf MLaI8MDBfvjSXGjzTEmi4f37S0O/VzNbxeOs/8BiASd8JBqcIeeRmShfh5xn6zbJETa8 zv7g== Received: by 10.50.193.196 with SMTP id hq4mr3133753igc.57.1343350702240; Thu, 26 Jul 2012 17:58:22 -0700 (PDT) Received: from ayaki.localdomain (124-169-186-146.dyn.iinet.net.au. [124.169.186.146]) by mx.google.com with ESMTPS id ua2sm1395958igb.7.2012.07.26.17.58.19 (version=SSLv3 cipher=OTHER); Thu, 26 Jul 2012 17:58:21 -0700 (PDT) Message-ID: <5011E7A8.5070200@ringerc.id.au> Date: Fri, 27 Jul 2012 08:58:16 +0800 From: Craig Ringer Reply-To: pgsql-bugs User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: leo xu CC: pgsql-bugs@postgresql.org Subject: Re: primary and hot standby database don' work now References: <1342936810876-5717562.post@n5.nabble.com> In-Reply-To: <1342936810876-5717562.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnD7Nk0tMq9KC7OHRyRGbDLYug0n9FNBTr3aek0eS58bv2CFDcPMXK/M8prXEdqUYD9ecdu X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/210 X-Sequence-Number: 33686 On 07/22/2012 02:00 PM, leo xu wrote: > hello everyone: > my pg version is 9.1.2 running on red hat 5.4 x64 servers.one > day,i found all database indexes can't work,reindex database,it can work,but > some table has primary key,found exists the same two records in table. When did this start happening? At random? After a server crash or power loss? After an administrative action? Are you running with fsync=off or using storage that has write caching enabled? -- Craig Ringer