pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: morten.hustveit@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #12209: Temporary functions may cause pg_dump to fail
Date: Fri, 12 Dec 2014 08:22:41 +0000
Message-ID: <20141212082241.2518.30398@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



Message-ID: <20141212082241.2518.30398@wrigleys.postgresql.org>
Permalink:  ../20141212082241.2518.30398@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20141212082241.2518.30398@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: morten.hustveit@gmail.com
  Subject: Re: BUG #12209: Temporary functions may cause pg_dump to fail
  In-Reply-To: <20141212082241.2518.30398@wrigleys.postgresql.org>
  References: <20141212082241.2518.30398@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox