From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
---|---|
To: | Edwin Quijada <listas_quijada(at)hotmail(dot)com> |
Cc: | pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx |
Subject: | Re: [Pgsql-ayuda] Pg_dumpall problemas |
Date: | 2003-11-06 02:17:47 |
Message-ID: | 20031106021747.GE26471@dcc.uchile.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
On Tue, Nov 04, 2003 at 07:48:51PM +0000, Edwin Quijada wrote:
> >UPDATE pg_shadow SET valuntil=NULL where valuntil='invalid';
> Alvaro esa vaina funciono mas bien que el diablo!!!!
> Ahora si me vas a tener que decir que significaba eso??
Significa que en la columna valuntil de la tabla pg_shadow habian
algunos valores "invalid". Este es un valor especial del tipo de dato
abstime, que no puede ser convertido al tipo timestamp o timestamp with
time zone.
Convirtiendo los invalid en NULL, que en la practica tienen el mismo
efecto en esa tabla, se logra que las conversiones a timestamp sean
posibles y que por lo tanto pg_dumpall funcione.
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
Thou shalt study thy libraries and strive not to reinvent them without
cause, that thy code may be short and readable and thy days pleasant
and productive. (7th Commandment for C Programmers)
From | Date | Subject | |
---|---|---|---|
Next Message | Carmen Gloria Sepulveda Dedes | 2003-11-06 12:25:33 | [Pgsql-ayuda] Como terminar un proceso |
Previous Message | Giovanny Charria Bedoya | 2003-11-05 17:14:24 | [Pgsql-ayuda] pregunta sobre postgreSQL for Windows..... |