Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 9DF549FB5C0; Thu, 15 Feb 2007 09:49:51 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 16218-03; Thu, 15 Feb 2007 09:49:38 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from lists.commandprompt.com (host-254.commandprompt.net [207.173.203.254]) by postgresql.org (Postfix) with ESMTP id 650599FB5B3; Thu, 15 Feb 2007 09:49:43 -0400 (AST) Received: from perhan.alvh.no-ip.org (216-155-79-222.bk1-dsl.surnet.cl [216.155.79.222]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id l1FDnZEQ021095; Thu, 15 Feb 2007 05:49:39 -0800 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 6A4D132A18; Thu, 15 Feb 2007 10:49:33 -0300 (CLST) Date: Thu, 15 Feb 2007 10:49:33 -0300 From: Alvaro Herrera To: Jaime Casanova Cc: Daniel Medina , pgsql-es-ayuda@postgresql.org, pgsql-admin@postgresql.org Subject: Re: [pgsql-es-ayuda] tabla pg_user Ayuda...... Message-ID: <20070215134933.GB4682@alvh.no-ip.org> Mail-Followup-To: Jaime Casanova , Daniel Medina , pgsql-es-ayuda@postgresql.org, pgsql-admin@postgresql.org References: <45D496E7.6040502@renova.com.pe> <1171056020.7776.27.camel@dmedina.redcorp.computec.com> <1171467067.3937.22.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV version 0.88.5, clamav-milter version 0.88.5 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Thu, 15 Feb 2007 05:49:40 -0800 (PST) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.259 tagged_above=0 required=5 tests=AWL, BAYES_50, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200702/215 X-Sequence-Number: 24680 Jaime Casanova escribió: > Alvaro, un vacuum como superusuario podria haber arreglado algo? o > hubiera tenido que borrar la tupla que pareciera mas vieja? o ninguna > de ambas podria haber funcionado? estoy asumiendo que el problema es > el que mencione arriba, no se me ocurre que mas pudo ser... La verdad es que no estoy 100% seguro porque no sabemos en que estado estaban esas tuplas ... pero hace un tiempo le hice una consultoria a una empresa que tuvo un problema muy similar, y cuando les dije que hicieran un VACUUM sobre pg_shadow, no tuvo el resultado esperado. Lo malo fue que hicimos un DELETE del usuario repetido, con el mismo resultado: se borraron las dos tuplas :-) y no habia forma de volver a crearlo. Asi que lo que hicimos fue bajar el postmaster, abrir un proceso standalone, crear el usuario nuevamente, volver a levantar postmaster. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support