postgresql/src/test/regress/sql/euc_kr.sql
Bruce Momjian cb7cbc16fa Hi, here are the patches to enhance existing MB handling. This time
I have implemented a framework of encoding translation between the
backend and the frontend. Also I have added a new variable setting
command:

SET CLIENT_ENCODING TO 'encoding';

Other features include:
	Latin1 support more 8 bit cleaness

See doc/README.mb for more details. Note that the pacthes are
against May 30 snapshot.

Tatsuo Ishii
1998-06-16 07:29:54 +00:00

20 lines
979 B
SQL

drop table ;
create table ( text, varchar, 1A라구 char(16));
create index index1 on using btree ();
create index index2 on using hash ();
insert into values('컴퓨터디스플레이', '機A01上');
insert into values('컴퓨터그래픽스', '分B10中');
insert into values('컴퓨터프로그래머', '人Z01下');
vacuum ;
select * from ;
select * from where = '人Z01下';
select * from where ~* '人z01下';
select * from where like '_Z01_';
select * from where like '_Z%';
select * from where ~ '컴퓨터[디그]';
select * from where ~* '컴퓨터[디그]';
select *,character_length() from ;
select *,octet_length() from ;
select *,position('' in ) from ;
select *,substring( from 3 for 4) from ;