Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XzRGp-0000Ok-Ay for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Dec 2014 14:32:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XzRGo-0007kH-1k for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Dec 2014 14:32:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XzLVC-0003nw-Nw for pgsql-bugs@postgresql.org; Fri, 12 Dec 2014 08:23:06 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XzLV8-0007vi-Sx for pgsql-bugs@postgresql.org; Fri, 12 Dec 2014 08:23:05 +0000 MIME-Version: 1.0 Subject: BUG #12209: Temporary functions may cause pg_dump to fail To: pgsql-bugs@postgresql.org From: morten.hustveit@gmail.com Date: Fri, 12 Dec 2014 08:22:41 +0000 Message-ID: <20141212082241.2518.30398@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 The following bug has been logged on the website: Bug reference: 12209 Logged by: Morten Hustveit Email address: morten.hustveit@gmail.com PostgreSQL version: 9.4beta2 Operating system: Debian Description: Note: Reported version is 9.4rc1, which is not available in the dropdown box. My second daily pg_dump backup after upgrading from 9.1 to 9.4rc1 failed with this output: pg_dump: [archiver (db)] query failed: ERROR: cache lookup failed for function 106830342 pg_dump: [archiver (db)] query was: SELECT tableoid, oid, proname, prolang, pronargs, proargtypes, prorettype, proacl, pronamespace, pg_catalog.pg_get_function_identity_arguments(oid) AS proiargs,(SELECT rolname FROM pg_catalog.pg_roles WHERE oid = proowner) AS rolname FROM pg_proc p WHERE NOT proisagg AND (pronamespace != (SELECT oid FROM pg_namespace WHERE nspname = 'pg_catalog') AND NOT EXISTS (SELECT 1 FROM pg_depend WHERE classid = 'pg_proc'::regclass AND objid = p.oid AND deptype = 'i')) The query did not fail when I reran it in psql. I did not modify any non-temporary functions that day, but I continuously run programs that create function ins the pg_temp schema. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs