Diego Ayala escribió:

> C:\Archivos de programa\pgAdmin III\1.8\pg_restore.exe -h 192.128.24.81 -p
> 5432 -U postgres -d db_desarrollo -a -t py_unidades -v "C:\Documents and
> Settings\dayala\Escritorio\py_unidades.backup"
> pg_restore: connecting to database for restore
> pg_restore: restoring data for table "py_unidades"
> pg_restore: [archiver (db)] Error while PROCESSING TOC:
> pg_restore: [archiver (db)] Error from TOC entry 2922; 0 67411926 TABLE DATA
> py_unidades postgres
> pg_restore: [archiver (db)] could not execute query: ERROR:  relation
> "py_unidades" does not exist
>     Command was:
> COPY py_unidades (unidad_id, unidad_prefijo, unidad_descrip,
> unidad_abreviada) FROM stdin;

¿Y por qué le está pasando -a?  Obviamente, con eso espera que la tabla
ya exista.

-- 
Alvaro Herrera                               http://www.PlanetPostgreSQL.org/
"In a specialized industrial society, it would be a disaster
to have kids running around loose." (Paul Graham)
--
TIP 9: visita nuestro canal de IRC #postgresql-es en irc.freenode.net

Responder a