pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_dump trunc some rows
2+ messages / 1 participants
[nested] [flat]

* pg_dump trunc some rows
@ 2003-07-04 16:46 Mendola Gaetano <mendola@bigfoot.com>
  2003-07-04 23:13 ` Re: pg_dump trunc some rows Mendola Gaetano <mendola@bigfoot.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Mendola Gaetano @ 2003-07-04 16:46 UTC (permalink / raw)
  To: pgsql-admin

Hi all,
I have a DB ( postgres 7.3.3 ) with encoding SQL_ASCII and in
some field I have strange character:

# \encoding
SQL_ASCII
# select city, id_country from user_data where id_user = 4146;
           city            | id_country
---------------------------+------------
 Serra de Outes - A Coruña |         61
(1 row)


now if I do a dump the line relative to this row is truncated and
after the field city  field id_country is not dumped!!!
I tried to use the pg_dump of Postgres 7.3.2 and I have the same
error :-(
BTW I'm without backup

Any Idea?

Gaetano
Mendola





---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_dump trunc some rows
  2003-07-04 16:46 pg_dump trunc some rows Mendola Gaetano <mendola@bigfoot.com>
@ 2003-07-04 23:13 ` Mendola Gaetano <mendola@bigfoot.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Mendola Gaetano @ 2003-07-04 23:13 UTC (permalink / raw)
  To: pgsql-admin

On: Friday, July 04, 2003 6:46 PM   "myself" wrote:
> Hi all,
> I have a DB ( postgres 7.3.3 ) with encoding SQL_ASCII and in
> some field I have strange character:
>
> # \encoding
> SQL_ASCII
> # select city, id_country from user_data where id_user = 4146;
>            city            | id_country
> ---------------------------+------------
>  Serra de Outes - A Coruña |         61
> (1 row)
>
>
> now if I do a dump the line relative to this row is truncated and
> after the field city  field id_country is not dumped!!!
> I tried to use the pg_dump of Postgres 7.3.2 and I have the same
> error :-(
> BTW I'm without backup

I solved my problem exporting PGCLIENTENCODING=latin-1
I was running Postgres7.3.2 till few days ago without problems.


Regards
Gaetano Mendola





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-07-04 23:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-07-04 16:46 pg_dump trunc some rows Mendola Gaetano <mendola@bigfoot.com>
2003-07-04 23:13 ` Mendola Gaetano <mendola@bigfoot.com>

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