pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: pgsql-admin <pgsql-admin@fc.emc.com.ph>
To: pgsql-admin@postgresql.org
Subject: 7.0.3 -> 7.1.2; pg_setlocale error
Date: Thu, 14 Jun 2001 23:34:06 +0800
Message-ID: <fc.000f567200c3c870000f567200c3c870.c3c908@fc.emc.com.ph> (raw)

Hi,

I am trying to migrate from 7.0.3 to 7.1.2. I just got the
rpms from rawhide of redhat.

While loading the 7.0.3 dump_file to 7.1.2, I got these errors...

ERROR:  stat failed on file '/usr/lib/pgsql/plpgsql.so': No such file or
directory
ERROR:  PL handler function plpgsql_call_handler() doesn't exist
You are now connected as new user postgres.
NOTICE:  copy: line 1, pg_setlocale(): 'LC_COLLATE=È€' cannot be honored.
NOTICE:  copy: line 1, pg_setlocale(): 'LC_CTYPE=°T0@X' cannot be honored.
NOTICE:  copy: line 1, pg_setlocale(): 'LC_MONETARY=X˜' cannot be honored.

and these showed in /var/log/postgresql

Jun 14 15:53:28 hype postgres[13306]: [68] DEBUG:  query: COPY
"pp_payment" FROM stdin;
Jun 14 15:53:28 hype postgres[13306]: [69] DEBUG:  ProcessUtility: COPY
"pp_payment" FROM stdin;
Jun 14 15:53:28 hype postgres[13306]: [70] NOTICE:  copy: line 1,
pg_setlocale(): 'LC_COLLATE=ÈÏ^]^H\200Ð^]^H^P' cannot be honored.
Jun 14 15:53:28 hype postgres[13306]: [71] NOTICE:  copy: line 1,
pg_setlocale(): 'LC_CTYPE=°T0@XÞ^]^H^P' cannot be honored.
Jun 14 15:53:28 hype postgres[13306]: [72] NOTICE:  copy: line 1,
pg_setlocale(): 'LC_MONETARY=XÞ^]^H\230à^]^H^P' cannot be honored.

I fixed the error on plpgsql.so by 'perl -pi.bak -e
's|/usr/lib/pgsql/plpgsql.so|/usr/lib/plpgsql.so|g' dump_file'
but I'm still confuse  with notice on pg_setlocale.

Will it do harm to the data?

Thanks.


sherwin




view thread (2+ messages)  latest in thread

Message-ID: <fc.000f567200c3c870000f567200c3c870.c3c908@fc.emc.com.ph>
Permalink:  ../fc.000f567200c3c870000f567200c3c870.c3c908@fc.emc.com.ph/
Also on:    postgresql.org/message-id/fc.000f567200c3c870000f567200c3c870.c3c908@fc.emc.com.ph

 · 

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: pgsql-admin@fc.emc.com.ph
  Subject: Re: 7.0.3 -> 7.1.2; pg_setlocale error
  In-Reply-To: <fc.000f567200c3c870000f567200c3c870.c3c908@fc.emc.com.ph>
  References: <fc.000f567200c3c870000f567200c3c870.c3c908@fc.emc.com.ph>

* 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