Re: Restore de una tabla de un esquema a otro esquema

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Diego Ayala <netdiego81(at)gmail(dot)com>
Cc: Postgres Ayuda <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Restore de una tabla de un esquema a otro esquema
Date: 2008-11-18 20:44:09
Message-ID: 20081118204409.GR4141@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

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)

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Jaime Casanova 2008-11-18 21:13:26 Re: uso de tableSpace distintos para indicesypara tablas
Previous Message Miguel Beltran R. 2008-11-18 20:36:21 Re: acerca de schemas