From: Alvaro Herrera <alvherre@commandprompt.com>
To: Jaime Casanova <systemguards@gmail.com>
Cc: Daniel Medina <dmedina@computec.com.co>
Cc: pgsql-es-ayuda@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [pgsql-es-ayuda] tabla pg_user Ayuda......
Date: Thu, 15 Feb 2007 10:49:33 -0300
Message-ID: <20070215134933.GB4682@alvh.no-ip.org> (raw)
In-Reply-To: <c2d9e70e0702142141r42805763s98aef220af994622@mail.gmail.com>
References: <45D496E7.6040502@renova.com.pe>
<1171056020.7776.27.camel@dmedina.redcorp.computec.com>
<c2d9e70e0702092255v3b3a19efkef2e26a8a8d44e41@mail.gmail.com>
<1171467067.3937.22.camel@localhost.localdomain>
<c2d9e70e0702142141r42805763s98aef220af994622@mail.gmail.com>
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
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-admin@postgresql.org
Cc: alvherre@commandprompt.com, systemguards@gmail.com, dmedina@computec.com.co, pgsql-es-ayuda@postgresql.org
Subject: Re: [pgsql-es-ayuda] tabla pg_user Ayuda......
In-Reply-To: <20070215134933.GB4682@alvh.no-ip.org>
References: <45D496E7.6040502@renova.com.pe> <1171056020.7776.27.camel@dmedina.redcorp.computec.com> <c2d9e70e0702092255v3b3a19efkef2e26a8a8d44e41@mail.gmail.com> <1171467067.3937.22.camel@localhost.localdomain> <c2d9e70e0702142141r42805763s98aef220af994622@mail.gmail.com> <20070215134933.GB4682@alvh.no-ip.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