[Pgsql-ayuda] error por el COPY?

Basilio Briceņo bbh@wdev.org
Thu, 23 Aug 2001 18:33:30 -0700 (PDT)


Hola lista,

Pues sucede que estoy porteando una DB de msaccess a postgres,
lo hice via ODBC, exporte las tablas y listo, luego hice un
dump y cree lo que seria mi DB de trabajo, revise bien el dump
creado y le modifique tipos de datos a algunos campos, ya estab
lista, asi que procedi a ejecutar ese dump en mi DB de trabajo
corrio bien y tambien realizo correctamente la insercion de
datos con el COPY, no marco errores, probe haciendo 'select *'
y me lanzo los datos correctamente, luego hice un 'select
colonia' (donde colonia es mi campo) y me dice que el atributo
'colonia' no existe

mydb=3D# select colonia from cv_clientes;
ERROR:  Attribute 'colonia' not found

luego, leyendo me tope con esto:

"Note that the ability to copy values into a table with
object-identifiers is a special capability reserved for COPY.
This value cannot be modified by INSERT or UPDATE, as it is a
system value. If you are not careful, you may therefore end up
with two rows which have the same OID, which partially negates
their usefulness."

Saben si esto tiene que ver?, hay alguien que le halla pasado
algo similar? estoy haciendolo mal? debo seguir algun
procedimiento?

mejor aun, hay alguna forma de corregir lo que esta sucediendo
de que no hace 'select micampo' pero si hace 'select *'?



Saludos,


Basilio Brice=F1o
---------------
\"Teach a man to make fire,
and he be warm for a day.
Set a man on fire,
and he will be warm for the rest of his life\".
- John A. Hrastar