pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nicolas Ross <nicolas@cybercat.ca>
To: Andres Freund <andres@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #10500: Cannot restore from a dump when some function is used in public shcema
Date: Mon, 02 Jun 2014 13:22:23 -0400
Message-ID: <538CB2CF.8020200@cybercat.ca> (raw)
In-Reply-To: <20140602171736.GC24145@awork2.anarazel.de>
References: <20140602161427.2797.72238@wrigleys.postgresql.org>
	<20140602171736.GC24145@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Andres Freund a écrit :
> Hi,
>
> On 2014-06-02 16:14:27 +0000, nicolas@cybercat.ca wrote:
>> The pg_restore or psql won't create the index in the last sql, despite the
>> fact that the public schema is specified to reference the function.
> What exactly do you mean with "won't create"? Does it generate an error?
> If so, what's that exactly?

Yes, sorry, here it is :

ERROR:  function unaccent(text) does not exist
LIGNE 1 :  SELECT unaccent(lower($1));
                   ^
ASTUCE : No function matches the given name and argument types. You 
might need to add explicit type casts.
REQUÊTE :  SELECT unaccent(lower($1));
CONTEXTE : SQL function "cyunaccent" during inlining

********** Error **********

ERROR: function unaccent(text) does not exist
SQL state: 42883
Hint: No function matches the given name and argument types. You might 
need to add explicit type casts.
Context: SQL function "cyunaccent" during inlining




-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)  latest in thread

Message-ID: <538CB2CF.8020200@cybercat.ca>
Permalink:  ../538CB2CF.8020200@cybercat.ca/
Also on:    postgresql.org/message-id/538CB2CF.8020200@cybercat.ca

 · 

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: nicolas@cybercat.ca, andres@2ndquadrant.com
  Subject: Re: BUG #10500: Cannot restore from a dump when some function is used in public shcema
  In-Reply-To: <538CB2CF.8020200@cybercat.ca>
  References: <20140602161427.2797.72238@wrigleys.postgresql.org> <20140602171736.GC24145@awork2.anarazel.de> <538CB2CF.8020200@cybercat.ca>

* 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