Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eA17K-000897-CI for pgsql-general@arkaria.postgresql.org; Wed, 01 Nov 2017 22:04:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eA17J-0001S1-46 for pgsql-general@arkaria.postgresql.org; Wed, 01 Nov 2017 22:04:09 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eA17H-0001QX-VJ for pgsql-general@postgresql.org; Wed, 01 Nov 2017 22:04:08 +0000 Received: from mail-io0-x233.google.com ([2607:f8b0:4001:c06::233]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1eA177-0004sj-RV for pgsql-general@postgresql.org; Wed, 01 Nov 2017 22:04:06 +0000 Received: by mail-io0-x233.google.com with SMTP id d66so8556332ioe.5 for ; Wed, 01 Nov 2017 15:03:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=DX5EzoIUH+kD7xjRZVbg60pfPtUKnshNTDjbMQTCTNk=; b=FNfhiq4cHuRTUS7AS65t+Ji+vZkVYsbfBdoFN9E/lfAqU7oL8O/5R88at4wnC9Z4OC PtvyJZ/SnTE3rmdQ44RzKsNJb6J9trLgUEEfCszePAZOWPce6ShYhbV4JT9fr40MhAW2 3XJrndhUzuKFVCfNnia20eBs/n4DLgYueiYh/yitQULWX+EDO63998Jjlzbh3MIc/q3u NCNwUsxuzri8DoFEBsP54NpgMX95gSoTGJ2KEZ2PDl4joXqWsPRO1m0z/KS1UAXFoWAA jWkvMh5oqOTJo3mRT//JkeiiDydyDen0igDg9Z3WHVrdJnd2CnG57cZBB2NeElTzNVcm ttUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=DX5EzoIUH+kD7xjRZVbg60pfPtUKnshNTDjbMQTCTNk=; b=JhmbO1nsQ+wq1vNC3XyWJCIDe7TBpAWiVib3PsEMn9bMMdjZlih+cdZUihvwk/lMKV SwsII+b9SRIPUW4bC+gohNOs6nFhu2byaQnDGAJnSwqF5Tufy0ydNWClWri1dl/A3U0U SfGOqd5gnUMz1S7ap5Zyb+O1aOPq3p6bDg7trxCdyGxd/vGTzDFBdCBtn+mFRGs4iQWc M+YTosnkyM0Y2ftkkSPwrMsM1ma5woQqzfZWh4K/2cwmfZGy5GoECbwowjryTcgkiqfe 07G+T6xoWoYoaAw2nbHnp5jDKcJwv9lifSy34LEUAnlEIp2I40jcFcuk4xF5nE+CUFq9 HZ/w== X-Gm-Message-State: AMCzsaWhD3VINBSSHh+ZZqte/WWcme+upK6o3smnoIEzM5p4lc0SC6s7 M10UvObg+Rhr01viPbeXoR3UiOSTVS8= X-Google-Smtp-Source: ABhQp+Sjg7cxWmzh+v3UP5mhCJ2+vAz2RRAhgd2yOUAgUPMTDmwkXJroOFwvKwCNyH5H7pp/Fj+5iQ== X-Received: by 10.36.217.206 with SMTP id p197mr2513538itg.45.1509573836520; Wed, 01 Nov 2017 15:03:56 -0700 (PDT) Received: from pryzbyj (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id r79sm900593ita.0.2017.11.01.15.03.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Nov 2017 15:03:55 -0700 (PDT) Received: by pryzbyj (Postfix, from userid 1000) id B89B4801850; Wed, 1 Nov 2017 17:03:54 -0500 (CDT) Date: Wed, 1 Nov 2017 17:03:54 -0500 From: Justin Pryzby To: Adam Brusselback Cc: "pgsql-general@postgresql.org" Subject: Re: Possible bug: could not open relation with OID [numbers] SQL State: XX000 Message-ID: <20171101220354.GB22239@telsasoft.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On Wed, Nov 01, 2017 at 04:11:07PM -0400, Adam Brusselback wrote: > I have something going on, and i'm not sure what is causing it. I > recently upgraded our development environment to PG10, and the error > in the subject appeared with one of my analytical functions. What relation is that ? I guess it's harder to know since it's within a function, but could you add NOTICE for all the relations you're outputting ? Something like ts=# SELECT 'alarms'::regclass::oid; oid | 19575 Also, if you have log_statement=all (and maybe log_destination=stderr,csvlog), can you send the log fragment for the line with error_severity='ERROR' ? https://www.postgresql.org/docs/current/static/runtime-config-logging.html#runtime-config-logging-csvlog Justin -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general