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

* Character problems
@ 2002-01-21 13:20  Ferdinand Smit <ferdinand@telegraafnet.nl>
  0 siblings, 1 reply; 2+ messages in thread

From: Ferdinand Smit @ 2002-01-21 13:20 UTC (permalink / raw)
  To: pgsql-admin

Hi,

I have a problem with inserting/updating "strange" characters. I can only use 
strange characters at the beginning of a string. The select statement has'nt 
this problem.

Is this a bug or am i doing something wrong ?

Regards,
Ferdinand


Example:

db=> select '\353x';
 ?column? 
----------
 ëx
(1 row)

db=> select 'xx\353x';
 ?column? 
----------
 xxëx
(1 row)

db=>
db=> insert into x values ('\353x');
INSERT 4284014 1
db=> insert into x values ('xx\353x');
INSERT 4284015 1
db=> select * from x;
  t  
-----
ëx
x
(2 rows)

db=>




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

* Re: Character problems
@ 2002-01-21 15:43  Ferdinand Smit <ferdinand@telegraafnet.nl>
  parent: Ferdinand Smit <ferdinand@telegraafnet.nl>
  0 siblings, 0 replies; 2+ messages in thread

From: Ferdinand Smit @ 2002-01-21 15:43 UTC (permalink / raw)
  To: pgsql-admin

Hi,

After a few tests my conclusion is:
- This problem only accist if you use UNICODE and use a char record 
(SQL_ASCII works fine).
- I think the problem is that de character counter count special characters 
differend from normal characters. It only occur when you insert a string 
which size is (almost) the same as the record size.

Ferdinand



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


end of thread, other threads:[~2002-01-21 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-21 13:20 Character problems Ferdinand Smit <ferdinand@telegraafnet.nl>
2002-01-21 15:43 ` Ferdinand Smit <ferdinand@telegraafnet.nl>

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