[Re: Migrating from 6.3.2 to 6.5

From: Mário Jorge Nunes Filipe <mjnf(at)uevora(dot)pt>
To: pgsql-admin(at)postgresql(dot)org
Subject: [Re: Migrating from 6.3.2 to 6.5
Date: 2000-11-21 12:38:46
Message-ID: 20001121123846.B14258@neptuno
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, 20 Nov 2000 10:33:59 Mário Jorge Nunes Filipe wrote:

> P.S. I'm not sending any samples here, but i can do that if necessary.

Well the anwsers weren't very encouraging so i decided to include some
examples:

i have this file with the dump:

\connect - mjnf
CREATE TABLE nacionalidade (codigo int2, nome varchar(40));
COPY nacionalidade FROM stdin;
26 Guiné
28 Moçambique
0 a prencher
30 São Tomé e Príncipe
53 Marrocos
54 França
56 Itália
57 Estados Unidos da América
22 Brasil
24 Cabo-Verde
52 Alemanha
55 Espanha
1 Portugal
20 Angola
2 Reino Unido
\.

When i do:

psql <dbname> < nacionalidade

this is the result:

\connect - mjnf
connecting as new user: mjnf
CREATE TABLE nacionalidade (codigo int2, nome varchar(40));
CREATE
COPY nacionalidade FROM stdin;
NOTICE: CopyReadNewline: line 1 - extra fields ignored
NOTICE: CopyReadNewline: line 5 - extra fields ignored
EOF

And select * from nacionalidade :

codigo|nome
------+-------------------------
26|Guiné
28
0|a prencher
30|São Tomé e Príncipe
53|Marrocos
54|França
56
57|Estados Unidos da América
22|Brasil
24|Cabo-Verde
52|Alemanha
55|Espanha
1|Portugal
20|Angola
2|Reino Unido
(13 rows)

So why did the é (in Guiné) and the ç (in França) caused error and the
others didn't ?

I'm sending the file with the dump just in case any of you might want to
look at this. Thanks

--
Mario Filipe
mjnf(at)uevora(dot)pt
http://neptuno.sc.uevora.pt/~mjnf

Attachment Content-Type Size
nacionalidade.txt text/plain 312 bytes

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Steve Doerr 2000-11-21 17:26:07 db has disappeared from pg_database
Previous Message Wuttipong Suvaphrom 2000-11-21 12:23:15 v7.0.3 on Solaris 2.7