pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mário Jorge Nunes Filipe <mjnf@uevora.pt>
To: pgsql-admin@postgresql.org
Subject: [Re: Migrating from 6.3.2 to 6.5
Date: Tue, 21 Nov 2000 12:38:46 +0000
Message-ID: <20001121123846.B14258@neptuno> (raw)
In-Reply-To: <20001121123644.A14258@neptuno>
References: <20001120103359.A6081@neptuno>
	<20001121123644.A14258@neptuno>

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@uevora.pt
        http://neptuno.sc.uevora.pt/~mjnf 

Attachments:

nacionalidade.txt (text/plain, 311B) download \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 \.

Message-ID: <20001121123846.B14258@neptuno>
Permalink:  ../20001121123846.B14258@neptuno/
Also on:    postgresql.org/message-id/20001121123846.B14258@neptuno

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mjnf@uevora.pt
  Subject: Re: [Re: Migrating from 6.3.2 to 6.5
  In-Reply-To: <20001121123846.B14258@neptuno>
  References: <20001120103359.A6081@neptuno> <20001121123644.A14258@neptuno> <20001121123846.B14258@neptuno>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox