Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VV7R1-0005NB-8f for pgsql-bugs@arkaria.postgresql.org; Sat, 12 Oct 2013 22:13:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VV7R0-0001P5-Jc for pgsql-bugs@arkaria.postgresql.org; Sat, 12 Oct 2013 22:13:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VV7Qz-0001Oy-M2 for pgsql-bugs@postgresql.org; Sat, 12 Oct 2013 22:13:17 +0000 Received: from mail.gransy.com ([2001:1528:137::f1]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VV7Qx-00058M-KC for pgsql-bugs@postgresql.org; Sat, 12 Oct 2013 22:13:17 +0000 Received: from antispam.gransy.com (antispam.gransy.com [77.78.104.124]) by mail.gransy.com (Postfix) with ESMTP id 704F7508C15 for ; Sun, 13 Oct 2013 00:13:15 +0200 (CEST) X-Virus-Scanned: G-Hosting.cz + Station.cz + Klenot.cz + Subreg.cz amavisd-new at antispam.gransy.com Received: from mail.gransy.com ([82.208.44.189]) by antispam.gransy.com (antispam.gransy.com [77.78.104.124]) (amavisd-new, port 10024) with ESMTP id Ydsx9YIxA4V4 for ; Sun, 13 Oct 2013 00:13:15 +0200 (CEST) Received: by mail.gransy.com (Postfix, from userid 5000) id 42369508C19; Sun, 13 Oct 2013 00:13:15 +0200 (CEST) Received: from [192.168.1.227] (ip-78-45-139-138.net.upcbroadband.cz [78.45.139.138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.gransy.com (Postfix) with ESMTPSA id 2645D508C15 for ; Sun, 13 Oct 2013 00:13:15 +0200 (CEST) Message-ID: <5259C97B.806@fuzzy.cz> Date: Sun, 13 Oct 2013 00:13:15 +0200 From: Tomas Vondra User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #8515: Random 'relation "..." does not exist' References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On 9.10.2013 19:35, nbuduroi@gmail.com wrote: > The following bug has been logged on the website: > > Bug reference: 8515 > Logged by: Nicolas Buduroi > Email address: nbuduroi@gmail.com > PostgreSQL version: 9.2.4 > Operating system: ArchLinux > Description: > > We've recently migrated an application from MySQL to Postgres and I've been > experiencing some really strange and random bugs. The application is a > pretty simple Rails application and the Postgres setup is the default one > provided by ArchLinux. > > > Basically, at some point a query, update or insert will not work and > complain about a table not existing, but that table was used without any > issue previously. Closing the running connection to the database and > reconnecting make that error disappear. Two concurrent connections (one from > a console and another from the app) could be contradicting themselves, one > giving the error and the other not. > > > This only happen on a development machine which is running version 9.2.4 of > Postgres. We've not encountered this error on our production/staging/ci > servers which are running Postgres 9.1.9 version. Hi Nicolas, can you check PostgreSQL logs? I'm not familiar with Arch Linux but I guess it might be /var/log/postgresql.log or something like that. Is there anything relevant in the logs? Can you explain what is the application doing? Can you try to prepare a simplified testcase, based on your knowledge of the app? kind regards Tomas -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs