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: Re(2): 7.0.3 -> 7.1.2; pg_setlocale error
Date: Wed, 20 Jun 2001 21:18:29 +0800
Message-ID: <fc.000f567200c5e060000f567200c5e060.c5e0f5@fc.emc.com.ph> (raw)

zakkr@zf.jcu.cz writes:
>On Thu, Jun 14, 2001 at 11:34:06PM +0800, pgsql-admin wrote:
>
>> 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.
>
> This message is reported if standard setlocale(3) returns error. IMHO 
>isn't PG problem, but something is bad in your system or PG setting. 
> 
> But why the copy call pg_setlocale() .. any trigger or function in
>domain 
>integrity checking/setting in the table definition?
>
>						Karel

according to the logs pg_dump was performing 'copy from stdin' and the
data has money data type.

I am wrong in my last email saying that it only affects one of our table
that
has money data type. I just saw the same error in the regression test.
What gives?

Sherwin


FROM "regression.diffs" 

<CUT>

inline patch 1: ./results/int8.out Wed Jun 20 19:51:40 2001 (+0/-0 lines) download inline-1.patch*** ./expected/int8.out Sat Jan 27 06:50:26 2001 --- ./results/int8.out Wed Jun 20 19:51:40 2001 *************** *** 111,116 **** --- 111,119 ----
-- SELECT '' AS to_char_1, to_char(q1, '9G999G999G999G999G999'), to_char(q2, '9,999,999,999,999,999') FROM INT8_TBL; + NOTICE: pg_setlocale(): 'LC_COLLATE=~HÆ^]^H@Ç^]^H^P' cannot be honored. + NOTICE: pg_setlocale(): 'LC_CTYPE=°t!@^XÕ^]^H^P' cannot be honored. + NOTICE: pg_setlocale(): 'LC_MONETARY=^XÕ^]^HhN&^H^P' cannot be honored. to_char_1 | to_char | to_char -----------+------------------------+------------------------ | 123 | 456 <CUT>
inline patch 2: ./results/numeric.out Wed Jun 20 19:51:50 2001 (+3/-0 lines) download inline-2.patch*** ./expected/numeric.out Sat Apr 8 03:17:42 2000 --- ./results/numeric.out Wed Jun 20 19:51:50 2001 *************** *** 698,703 **** --- 698,706 ---- -- SELECT '' AS to_char_1, to_char(val, '9G999G999G999G999G999') FROM num_data; + NOTICE: pg_setlocale(): 'LC_COLLATE=~HÆ^]^H@Ç^]^H^P' cannot be honored. + NOTICE: pg_setlocale(): 'LC_CTYPE=°t!@^XÕ^]^H^P' cannot be honored. + NOTICE: pg_setlocale(): 'LC_MONETARY=^XÕ^]^H| ²#^H^P' cannot be honored. to_char_1 | to_char -----------+------------------------ | 0
<CUT>
inline patch 3: ./results/rules.out Wed Jun 20 19:52:24 2001 (+3/-0 lines) download inline-3.patch*** ./expected/rules.out Wed Dec 6 03:15:48 2000 --- ./results/rules.out Wed Jun 20 19:52:24 2001 *************** *** 52,57 **** --- 52,60 ---- create rule rtest_emp_ins as on insert to rtest_emp do insert into rtest_emplog values (new.ename, current_user, 'hired', new.salary, '0.00'); + NOTICE: pg_setlocale(): 'LC_COLLATE=~HÆ^]^H@Ç^]^H^P' cannot be honored. + NOTICE: pg_setlocale(): 'LC_CTYPE=°t!@^XÕ^]^H^P' cannot be honored. + NOTICE: pg_setlocale(): 'LC_MONETARY=^XÕ^]^H¨P&^H^P' cannot be honored. create rule rtest_emp_upd as on update to rtest_emp where new.salary !=
old.salary do insert into rtest_emplog values (new.ename, current_user, 'honored', new.salary, old.salary); Patches: download all (3 files, .tar.gz)

view thread (2+ messages)

Message-ID: <fc.000f567200c5e060000f567200c5e060.c5e0f5@fc.emc.com.ph>
Permalink:  ../fc.000f567200c5e060000f567200c5e060.c5e0f5@fc.emc.com.ph/
Also on:    postgresql.org/message-id/fc.000f567200c5e060000f567200c5e060.c5e0f5@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.000f567200c5e060000f567200c5e060.c5e0f5@fc.emc.com.ph>
  References: <fc.000f567200c5e060000f567200c5e060.c5e0f5@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