X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3C53356A07 for ; Fri, 18 Mar 2005 20:54:31 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 21908-02 for ; Fri, 18 Mar 2005 20:54:29 +0000 (GMT) Received: from hosting.commandprompt.com (128.commandprompt.com [207.173.200.128]) by svr1.postgresql.org (Postfix) with ESMTP id 2CEBA56A5C for ; Fri, 18 Mar 2005 20:54:28 +0000 (GMT) Received: from 192.168.1.52 (fc1smp [66.93.38.87]) by hosting.commandprompt.com (8.12.8/8.12.8) with ESMTP id j2IKq6kh003680; Fri, 18 Mar 2005 12:52:06 -0800 Subject: Re: Problem with backups and functions. From: "Joshua D. Drake" Reply-To: jd@commandprompt.com To: "Bruno G. Albuquerque" Cc: Tom Lane , pgsql-admin@postgresql.org In-Reply-To: <423B3CCF.6010006@dba.com.br> References: <423B3459.1030407@dba.com.br> <10064.1111177445@sss.pgh.pa.us> <423B3CCF.6010006@dba.com.br> Content-Type: text/plain; charset=utf-8 Organization: Joshua D. Drake Date: Fri, 18 Mar 2005 12:54:27 -0800 Message-Id: <1111179267.32301.64.camel@jd2.commandprompt.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.037 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/292 X-Sequence-Number: 16790 On Fri, 2005-03-18 at 17:40 -0300, Bruno G. Albuquerque wrote: > Hi Tom. > > Thanks for the reply. I am sure this is not the case. I am doing test > dumps on my machine (only PostgreSQL 8.0.1 installed) and the server is > also running PostgreSQL 8.0.1. Can you describe your exact process? You dump from Windows creating a file foo.sql You restore the file where? What OS? What command? Sincerely, Joshua D. Drake > > -Bruno > > Tom Lane wrote: > > "Bruno G. Albuquerque" writes: > > > >>The problem is that when we do a backup/restore procedure (using > >>pg_dump/pg_restore), the functions are restored without the named > >>parameters, which make then fail as inside the function the parameter > >>names are mentioned. > > > > > > Perhaps you are using a pre-8.0 pg_dump? > > > > regards, tom lane > > > > ********************************************************************** > Informação transmitida destina-se apenas à pessoa a quem foi endereçada e pode conter informação confidencial, legalmente protegida e para conhecimento exclusivo do destinatário. Se o leitor desta advertência não for o seu destinatário, fica ciente de que sua leitura, divulgação ou cópia é estritamente proibida. Caso a mensagem tenha sido recebida por engano, favor comunicar ao remetente e apagar o texto de qualquer computador. > > > The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information, by person or entity other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. > ********************************************************************** > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq -- Command Prompt, Inc., Your PostgreSQL solutions company. 503-667-4564 Custom programming, 24x7 support, managed services, and hosting Open Source Authors: plPHP, pgManage, Co-Authors: plPerlNG Reliable replication, Mammoth Replicator - http://www.commandprompt.com/