Fix expected files.

This commit is contained in:
Tatsuo Ishii 2001-09-22 08:47:20 +00:00
parent 8ebdac0ed5
commit 67c26c12af
6 changed files with 360 additions and 411 deletions

View File

@ -1,5 +1,4 @@
drop table 廠商資料;
ERROR: table "¼t°Ó¸ê®Æ" does not exist
create table 廠商資料 (行業別 text, 公司抬頭 varchar, 地址 varchar(16));
create index 廠商資料index1 on 廠商資料 using btree (行業別);
create index 廠商資料index2 on 廠商資料 using hash (公司抬頭);

View File

@ -1,38 +1,87 @@
drop table 计算机术语;
ERROR: parser: parse error at or near "("
ERROR: table "计算机术语" does not exist
create table 计算机术语(术语 text, 分类号 varchar, 备注1A char(16));
ERROR: parser: parse error at or near "("
create index 计算机术语index1 on 计算机术语 using btree(术语);
ERROR: parser: parse error at or near "("
create index 计算机术语index2 on 计算机术语 using btree(分类号);
ERROR: parser: parse error at or near "("
insert into 计算机术语 values('电脑显示屏','机A01上');
ERROR: parser: parse error at or near "("
insert into 计算机术语 values('电脑图形','分B01中');
ERROR: parser: parse error at or near "("
insert into 计算机术语 values('电脑程序员','人Z01下');
ERROR: parser: parse error at or near "("
vacuum 计算机术语;
ERROR: parser: parse error at or near "("
select * from 计算机术语;
ERROR: parser: parse error at or near "92"
术语 | 分类号 | 备注1a
------------+---------+--------
电脑显示屏 | 机A01上 |
电脑图形 | 分B01中 |
电脑程序员 | 人Z01下 |
(3 rows)
select * from 计算机术语 where 分类号 = '人Z01下';
ERROR: parser: parse error at or near "92"
术语 | 分类号 | 备注1a
------------+---------+--------
电脑程序员 | 人Z01下 |
(1 row)
select * from 计算机术语 where 分类号 ~* '人z01下';
ERROR: parser: parse error at or near "92"
术语 | 分类号 | 备注1a
------------+---------+--------
电脑程序员 | 人Z01下 |
(1 row)
select * from 计算机术语 where 分类号 like '_Z01_';
ERROR: parser: parse error at or near "92"
术语 | 分类号 | 备注1a
------------+---------+--------
电脑程序员 | 人Z01下 |
(1 row)
select * from 计算机术语 where 分类号 like '_Z%';
ERROR: parser: parse error at or near "92"
术语 | 分类号 | 备注1a
------------+---------+--------
电脑程序员 | 人Z01下 |
(1 row)
select * from 计算机术语 where 术语 ~ '电脑[显图]';
ERROR: parser: parse error at or near "92"
术语 | 分类号 | 备注1a
------------+---------+--------
电脑显示屏 | 机A01上 |
电脑图形 | 分B01中 |
(2 rows)
select * from 计算机术语 where 术语 ~* '电脑[显图]';
ERROR: parser: parse error at or near "92"
术语 | 分类号 | 备注1a
------------+---------+--------
电脑显示屏 | 机A01上 |
电脑图形 | 分B01中 |
(2 rows)
select *,character_length(术语) from 计算机术语;
ERROR: parser: parse error at or near "caf5"
术语 | 分类号 | 备注1a | char_length
------------+---------+--------+-------------
电脑显示屏 | 机A01上 | | 5
电脑图形 | 分B01中 | | 4
电脑程序员 | 人Z01下 | | 5
(3 rows)
select *,octet_length(术语) from 计算机术语;
ERROR: parser: parse error at or near "caf5"
术语 | 分类号 | 备注1a | octet_length
------------+---------+--------+--------------
电脑显示屏 | 机A01上 | | 10
电脑图形 | 分B01中 | | 8
电脑程序员 | 人Z01下 | | 10
(3 rows)
select *,position('显' in 术语) from 计算机术语;
ERROR: parser: parse error at or near "caf5"
术语 | 分类号 | 备注1a | position
------------+---------+--------+----------
电脑显示屏 | 机A01上 | | 3
电脑图形 | 分B01中 | | 0
电脑程序员 | 人Z01下 | | 0
(3 rows)
select *,substring(术语 from 3 for 4) from 计算机术语;
ERROR: parser: parse error at or near "caf5"
术语 | 分类号 | 备注1a | substring
------------+---------+--------+-----------
电脑显示屏 | 机A01上 | | 显示屏
电脑图形 | 分B01中 | | 图形
电脑程序员 | 人Z01下 | | 程序员
(3 rows)

View File

@ -1,38 +1,87 @@
drop table 計算機용어;
ERROR: parser: parse error at or near "("
ERROR: table "計算機용어" does not exist
create table 計算機용어 (용어 text, 分類코드 varchar, 비고1A라구 char(16));
ERROR: parser: parse error at or near "("
create index 計算機용어index1 on 計算機용어 using btree (용어);
ERROR: parser: parse error at or near "("
create index 計算機용어index2 on 計算機용어 using hash (分類코드);
ERROR: parser: parse error at or near "("
insert into 計算機용어 values('컴퓨터디스플레이', '機A01上');
ERROR: parser: parse error at or near "("
insert into 計算機용어 values('컴퓨터그래픽스', '分B10中');
ERROR: parser: parse error at or near "("
insert into 計算機용어 values('컴퓨터프로그래머', '人Z01下');
ERROR: parser: parse error at or near "("
vacuum 計算機용어;
ERROR: parser: parse error at or near "("
select * from 計算機용어;
ERROR: parser: parse error at or near "92"
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터디스플레이 | 機A01上 |
컴퓨터그래픽스 | 分B10中 |
컴퓨터프로그래머 | 人Z01下 |
(3 rows)
select * from 計算機용어 where 分類코드 = '人Z01下';
ERROR: parser: parse error at or near "92"
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터프로그래머 | 人Z01下 |
(1 row)
select * from 計算機용어 where 分類코드 ~* '人z01下';
ERROR: parser: parse error at or near "92"
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터프로그래머 | 人Z01下 |
(1 row)
select * from 計算機용어 where 分類코드 like '_Z01_';
ERROR: parser: parse error at or near "92"
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터프로그래머 | 人Z01下 |
(1 row)
select * from 計算機용어 where 分類코드 like '_Z%';
ERROR: parser: parse error at or near "92"
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터프로그래머 | 人Z01下 |
(1 row)
select * from 計算機용어 where 용어 ~ '컴퓨터[디그]';
ERROR: parser: parse error at or near "92"
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터디스플레이 | 機A01上 |
컴퓨터그래픽스 | 分B10中 |
(2 rows)
select * from 計算機용어 where 용어 ~* '컴퓨터[디그]';
ERROR: parser: parse error at or near "92"
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터디스플레이 | 機A01上 |
컴퓨터그래픽스 | 分B10中 |
(2 rows)
select *,character_length(용어) from 計算機용어;
ERROR: parser: parse error at or near "bfeb"
용어 | 分類코드 | 비고1a라구 | char_length
------------------+----------+------------+-------------
컴퓨터디스플레이 | 機A01上 | | 8
컴퓨터그래픽스 | 分B10中 | | 7
컴퓨터프로그래머 | 人Z01下 | | 8
(3 rows)
select *,octet_length(용어) from 計算機용어;
ERROR: parser: parse error at or near "bfeb"
용어 | 分類코드 | 비고1a라구 | octet_length
------------------+----------+------------+--------------
컴퓨터디스플레이 | 機A01上 | | 16
컴퓨터그래픽스 | 分B10中 | | 14
컴퓨터프로그래머 | 人Z01下 | | 16
(3 rows)
select *,position('디' in 용어) from 計算機용어;
ERROR: parser: parse error at or near "bfeb"
용어 | 分類코드 | 비고1a라구 | position
------------------+----------+------------+----------
컴퓨터디스플레이 | 機A01上 | | 4
컴퓨터그래픽스 | 分B10中 | | 0
컴퓨터프로그래머 | 人Z01下 | | 0
(3 rows)
select *,substring(용어 from 3 for 4) from 計算機용어;
ERROR: parser: parse error at or near "bfeb"
용어 | 分類코드 | 비고1a라구 | substring
------------------+----------+------------+-----------
컴퓨터디스플레이 | 機A01上 | | 터디스플
컴퓨터그래픽스 | 分B10中 | | 터그래픽
컴퓨터프로그래머 | 人Z01下 | | 터프로그
(3 rows)

View File

@ -1,38 +1,85 @@
drop table 燹俑骜砧;
ERROR: parser: parse error at or near "("
ERROR: table "燹俑骜砧" does not exist
create table 燹俑骜砧 (如淦杀 text, 狞瞥婉螭 varchar, 氢蛇 varchar(16));
ERROR: parser: parse error at or near "("
create index 燹俑骜砧index1 on 燹俑骜砧 using btree (如淦杀);
ERROR: parser: parse error at or near "("
create index 燹俑骜砧index2 on 燹俑骜砧 using hash (狞瞥婉螭);
ERROR: parser: parse error at or near "("
insert into 燹俑骜砧 values ('缳妾淦', '绠绠绎世', '啤A01念');
ERROR: parser: parse error at or near "("
insert into 燹俑骜砧 values ('犒葸淦', '芈溷却宇狞瞥', '你B10你');
ERROR: parser: parse error at or near "("
insert into 燹俑骜砧 values ('螫悖淦', '印汤洗枪却宇狞瞥', '仨Z01摩');
ERROR: parser: parse error at or near "("
vacuum 燹俑骜砧;
ERROR: parser: parse error at or near "("
select * from 燹俑骜砧;
ERROR: parser: parse error at or near "92"
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+------------------+---------
缳妾淦 | 绠绠绎世 | 啤A01念
犒葸淦 | 芈溷却宇狞瞥 | 你B10你
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
(3 rows)
select * from 燹俑骜砧 where 氢蛇 = '仨Z01摩';
ERROR: parser: parse error at or near "92"
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+------------------+---------
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
(1 row)
select * from 燹俑骜砧 where 氢蛇 ~* '仨z01摩';
ERROR: parser: parse error at or near "92"
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+------------------+---------
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
(1 row)
select * from 燹俑骜砧 where 氢蛇 like '_Z01_';
ERROR: parser: parse error at or near "92"
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+------------------+---------
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
(1 row)
select * from 燹俑骜砧 where 氢蛇 like '_Z%';
ERROR: parser: parse error at or near "92"
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+------------------+---------
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
(1 row)
select * from 燹俑骜砧 where 狞瞥婉螭 ~ '绠绠绎[凫卮世]';
ERROR: parser: parse error at or near "92"
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+----------+---------
缳妾淦 | 绠绠绎世 | 啤A01念
(1 row)
select * from 燹俑骜砧 where 狞瞥婉螭 ~* '绠绠绎[凫卮世]';
ERROR: parser: parse error at or near "92"
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+----------+---------
缳妾淦 | 绠绠绎世 | 啤A01念
(1 row)
select *, character_length(如淦杀) from 燹俑骜砧;
ERROR: parser: parse error at or near "c8e7"
如淦杀 | 狞瞥婉螭 | 氢蛇 | char_length
--------+------------------+---------+-------------
缳妾淦 | 绠绠绎世 | 啤A01念 | 3
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 3
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 3
(3 rows)
select *, octet_length(如淦杀) from 燹俑骜砧;
ERROR: parser: parse error at or near "c8e7"
如淦杀 | 狞瞥婉螭 | 氢蛇 | octet_length
--------+------------------+---------+--------------
缳妾淦 | 绠绠绎世 | 啤A01念 | 6
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 6
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 6
(3 rows)
select *, position('却宇' in 狞瞥婉螭) from 燹俑骜砧;
ERROR: parser: parse error at or near "c4fc"
如淦杀 | 狞瞥婉螭 | 氢蛇 | position
--------+------------------+---------+----------
缳妾淦 | 绠绠绎世 | 啤A01念 | 0
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 3
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 5
(3 rows)
select *, substring(狞瞥婉螭 from 3 for 6 ) from 燹俑骜砧;
ERROR: parser: parse error at or near "c4fc"
如淦杀 | 狞瞥婉螭 | 氢蛇 | substring
--------+------------------+---------+--------------
缳妾淦 | 绠绠绎世 | 啤A01念 | 绎世
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 却宇狞瞥
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 洗枪却宇狞瞥
(3 rows)

View File

@ -22,66 +22,67 @@ select * from
(1 row)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É ~* '¿Íz01²¼';
▓мя▓╦Л | ▓й╛▓нЮ▓╔Ё▓║╪▓╔и | ▓хВ▓╧м1a▓╓ю▓╓Х
--------+-----------------+----------------
(0 rows)
▓мя▓╦Л | ▓й╛▓нЮ▓╔Ё▓║╪▓╔и | ▓хВ▓╧м1a▓╓ю▓╓Х
--------------------------------------+-----------------+----------------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ |
(1 row)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É like '_Z01_';
▓мя▓╦Л | ▓й╛▓нЮ▓╔Ё▓║╪▓╔и | ▓хВ▓╧м1a▓╓ю▓╓Х
--------+-----------------+----------------
(0 rows)
▓мя▓╦Л | ▓й╛▓нЮ▓╔Ё▓║╪▓╔и | ▓хВ▓╧м1a▓╓ю▓╓Х
--------------------------------------+-----------------+----------------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ |
(1 row)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É like '_Z%';
▓мя▓╦Л | ▓й╛▓нЮ▓╔Ё▓║╪▓╔и | ▓хВ▓╧м1a▓╓ю▓╓Х
--------+-----------------+----------------
(0 rows)
▓мя▓╦Л | ▓й╛▓нЮ▓╔Ё▓║╪▓╔и | ▓хВ▓╧м1a▓╓ю▓╓Х
--------------------------------------+-----------------+----------------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ |
(1 row)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ÍÑ’¸ì ~ '’¥³’¥ó’¥Ô’¥å’¡¼’¥¿[’¥Ç’¥°]';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
-----------------------------------------+-----------------+----------------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å |
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ |
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ |
(3 rows)
(2 rows)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ÍÑ’¸ì ~* '’¥³’¥ó’¥Ô’¥å’¡¼’¥¿[’¥Ç’¥°]';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
-----------------------------------------+-----------------+----------------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å |
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ |
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ |
(3 rows)
(2 rows)
select *,character_length(’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | char_length
-----------------------------------------+-----------------+----------------+-------------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | 18
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔╟▓╔И▓╔у▓╔ё▓╔ц▓╔╞▓╔╧ | ▓й╛B10▓цФ | | 20
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ | | 18
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | 12
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔╟▓╔И▓╔у▓╔ё▓╔ц▓╔╞▓╔╧ | ▓й╛B10▓цФ | | 13
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ | | 12
(3 rows)
select *,octet_length(’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | octet_length
-----------------------------------------+-----------------+----------------+--------------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | 54
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔╟▓╔И▓╔у▓╔ё▓╔ц▓╔╞▓╔╧ | ▓й╛B10▓цФ | | 59
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ | | 54
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | 36
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔╟▓╔И▓╔у▓╔ё▓╔ц▓╔╞▓╔╧ | ▓й╛B10▓цФ | | 39
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ | | 36
(3 rows)
select *,position('’¥Ç' in ’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | position
-----------------------------------------+-----------------+----------------+----------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | 0
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | 7
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | | 0
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | | 0
(3 rows)
select *,substring(’ÍÑ’¸ì from 10 for 4) from ’·×’»»’µ¡’ÍÑ’¸ì;
▓мя▓╦Л | ▓й╛▓нЮ▓╔Ё▓║╪▓╔и | ▓хВ▓╧м1a▓╓ю▓╓Х | substring
-----------------------------------------+-----------------+----------------+-----------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | ▓╔г▓╔ё▓╔
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔╟▓╔И▓╔у▓╔ё▓╔ц▓╔╞▓╔╧ | ▓й╛B10▓цФ | | ▓╔╟▓╔И▓╔
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ | | ▓╔в▓╔М▓╔
▓мя▓╦Л | ▓й╛▓нЮ▓╔Ё▓║╪▓╔и | ▓хВ▓╧м1a▓╓ю▓╓Х | substring
-----------------------------------------+-----------------+----------------+--------------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | ▓╔в▓╔Л▓╔╓
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔╟▓╔И▓╔у▓╔ё▓╔ц▓╔╞▓╔╧ | ▓й╛B10▓цФ | | ▓╔ё▓╔ц▓╔╞▓╔╧
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ | | ▓╔И▓╔ч▓║╪
(3 rows)
drop table ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
@ -108,52 +109,57 @@ select * from
(1 row)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ ~* 'ÈËz01ÏÂ';
▒йУ▒сО | ▒╥ж▒юЮ▒╨е | ▒╠╦▒в╒1a
--------+-----------+----------
(0 rows)
▒йУ▒сО | ▒╥ж▒юЮ▒╨е | ▒╠╦▒в╒1a
-----------------+-----------+----------
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об |
(1 row)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ like '_Z01_';
▒йУ▒сО | ▒╥ж▒юЮ▒╨е | ▒╠╦▒в╒1a
--------+-----------+----------
(0 rows)
▒йУ▒сО | ▒╥ж▒юЮ▒╨е | ▒╠╦▒в╒1a
-----------------+-----------+----------
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об |
(1 row)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ like '_Z%';
▒йУ▒сО | ▒╥ж▒юЮ▒╨е | ▒╠╦▒в╒1a
--------+-----------+----------
(0 rows)
▒йУ▒сО | ▒╥ж▒юЮ▒╨е | ▒╠╦▒в╒1a
-----------------+-----------+----------
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об |
(1 row)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘Êõ‘Óï ~ '‘µç‘ÄÔ[‘Ïԑͼ]';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
-----------------+-----------+----------
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ |
(1 row)
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп |
(2 rows)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘Êõ‘Óï ~* '‘µç‘ÄÔ[‘Ïԑͼ]';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
-----------------+-----------+----------
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ |
(1 row)
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп |
(2 rows)
select *,character_length(‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | char_length
-----------------+-----------+----------+-------------
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | 8
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп | | 6
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об | | 8
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | 5
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп | | 4
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об | | 5
(3 rows)
select *,octet_length(‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | octet_length
-----------------+-----------+----------+--------------
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | 23
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп | | 18
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об | | 23
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | 15
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп | | 12
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об | | 15
(3 rows)
select *,position('‘ÏÔ' in ‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | position
-----------------+-----------+----------+----------
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | 0
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | 3
‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | | 0
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | | 0
(3 rows)
@ -161,9 +167,9 @@ select *,position('
select *,substring(‘Êõ‘Óï from 3 for 4) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | substring
-----------------+-----------+----------+-----------
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | дт▒от▒й╬
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп | | дт▒м╪▒пн
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об | | дт▒Ёл▒пР
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | ▒от▒й╬▒фа
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп | | ▒м╪▒пн
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об | | ▒Ёл▒пР▒т╠
(3 rows)
drop table “ͪ“ß©“Ѧ“¿ë“¾î;
@ -190,60 +196,67 @@ select * from
(1 row)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå ~* '“ìÑz01“ù»';
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦
--------+--------------+----------------
(0 rows)
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦
--------------------------+--------------+----------------
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ |
(1 row)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå like '_Z01_';
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦
--------+--------------+----------------
(0 rows)
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦
--------------------------+--------------+----------------
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ |
(1 row)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå like '_Z%';
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦
--------+--------------+----------------
(0 rows)
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦
--------------------------+--------------+----------------
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ |
(1 row)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “¿ë“¾î ~ '“ÄÄ“Ç»“ÅÍ[“µð“±×]';
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦
--------+--------------+----------------
(0 rows)
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦
--------------------------+--------------+----------------
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ |
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ |
(2 rows)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “¿ë“¾î ~* '“ÄÄ“Ç»“ÅÍ[“µð“±×]';
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦
--------+--------------+----------------
(0 rows)
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦
--------------------------+--------------+----------------
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ |
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ |
(2 rows)
select *,character_length(“¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | char_length
--------------------------+--------------+----------------+-------------
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | 12
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ | | 11
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ | | 12
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | 8
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ | | 7
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ | | 8
(3 rows)
select *,octet_length(“¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | octet_length
--------------------------+--------------+----------------+--------------
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | 36
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ | | 32
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ | | 36
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | 24
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ | | 21
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ | | 24
(3 rows)
select *,position('“µð' in “¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | position
--------------------------+--------------+----------------+----------
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | 0
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | 4
“ÄÄ“Ç»“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 0
“ÄÄ“Ç»“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 0
(3 rows)
select *,substring(“¿ë“¾î from 3 for 4) from “ͪ“ß©“Ѧ“¿ë“¾î;
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦ | substring
--------------------------+--------------+----------------+-----------
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | г╩⌠ем⌠╣П
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ | | г╩⌠ем⌠╠в
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ | | г╩⌠ем⌠га
⌠©К⌠╬Н | ⌠щб⌠в╬⌠дз⌠╣Е | ⌠╨Я⌠╟М1a⌠╤С⌠╠╦ | substring
--------------------------+--------------+----------------+--------------
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | ⌠ем⌠╣П⌠╫╨⌠гц
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ | | ⌠ем⌠╠в⌠╥║⌠гх
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ | | ⌠ем⌠га⌠╥н⌠╠в
(3 rows)
drop table test;
@ -292,10 +305,10 @@ select *,octet_length(t) from test;
t | octet_length
--------------------------------------+--------------
ENGLISH | 7
FRAN│гAIS | 10
ESPA│яOL | 9
│мSLENSKA | 10
ENGLISH FRAN│гAIS ESPA│яOL │мSLENSKA | 39
FRAN│гAIS | 9
ESPA│яOL | 8
│мSLENSKA | 9
ENGLISH FRAN│гAIS ESPA│яOL │мSLENSKA | 36
(5 rows)
select *,position('L' in t) from test;

View File

@ -1,295 +1,87 @@
drop table 計算機用語;
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
ERROR: table "è¨æ©èª" does not exist
ERROR: table "計算機用語" does not exist
create table 計算機用語 (用語 text, 分類コード varchar, 備考1Aだよ char(16));
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe582) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x99e8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8083) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe381) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa0e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8288) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "1"
create index 計算機用語index1 on 計算機用語 using btree (用語);
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e69) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "btree"
create index 計算機用語index2 on 計算機用語 using hash (分類コード);
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e69) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8929) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "hash"
insert into 計算機用語 values('コンピュータディスプレイ','機A01上');
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x87e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x82a3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8397) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xace3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x82a4) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9f41) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8a27) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "'"
insert into 計算機用語 values('コンピュータグラフィックス','分B10中');
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83a9) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x95e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x82a3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x82af) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xb927) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8642) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xad27) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "'"
insert into 計算機用語 values('コンピュータプログラマー','人Z01下');
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x97e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83ad) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83a9) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9ee3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xba5a) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8b27) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "'"
vacuum 計算機用語;
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
NOTICE: Vacuum: table not found
select * from 計算機用語;
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
ERROR: Relation 'è¨æ©èª' does not exist
用語 | 分類コード | 備考1aだよ
-----------------------------------------+-----------------+----------------
コンピュータディスプレイ | 機A01上 |
コンピュータグラフィックス | 分B10中 |
コンピュータプログラマー | 人Z01下 |
(3 rows)
select * from 計算機用語 where 分類コード = '人Z01下';
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xba5a) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8b27) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "="
用語 | 分類コード | 備考1aだよ
--------------------------------------+-----------------+----------------
コンピュータプログラマー | 人Z01下 |
(1 row)
select * from 計算機用語 where 分類コード ~* '人z01下';
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xba7a) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8b27) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "~*"
用語 | 分類コード | 備考1aだよ
--------------------------------------+-----------------+----------------
コンピュータプログラマー | 人Z01下 |
(1 row)
select * from 計算機用語 where 分類コード like '_Z01_';
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "'"
用語 | 分類コード | 備考1aだよ
--------------------------------------+-----------------+----------------
コンピュータプログラマー | 人Z01下 |
(1 row)
select * from 計算機用語 where 分類コード like '_Z%';
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "'"
用語 | 分類コード | 備考1aだよ
--------------------------------------+-----------------+----------------
コンピュータプログラマー | 人Z01下 |
(1 row)
select * from 計算機用語 where 用語 ~ 'コンピュータ[デグ]';
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x87e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x82b0) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "~"
用語 | 分類コード | 備考1aだよ
-----------------------------------------+-----------------+----------------
コンピュータディスプレイ | 機A01上 |
コンピュータグラフィックス | 分B10中 |
(2 rows)
select * from 計算機用語 where 用語 ~* 'コンピュータ[デグ]';
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x87e3) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x82b0) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "~*"
用語 | 分類コード | 備考1aだよ
-----------------------------------------+-----------------+----------------
コンピュータディスプレイ | 機A01上 |
コンピュータグラフィックス | 分B10中 |
(2 rows)
select *,character_length(用語) from 計算機用語;
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
ERROR: Relation 'è¨æ©èª' does not exist
用語 | 分類コード | 備考1aだよ | char_length
-----------------------------------------+-----------------+----------------+-------------
コンピュータディスプレイ | 機A01上 | | 12
コンピュータグラフィックス | 分B10中 | | 13
コンピュータプログラマー | 人Z01下 | | 12
(3 rows)
select *,octet_length(用語) from 計算機用語;
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
ERROR: Relation 'è¨æ©èª' does not exist
用語 | 分類コード | 備考1aだよ | octet_length
-----------------------------------------+-----------------+----------------+--------------
コンピュータディスプレイ | 機A01上 | | 36
コンピュータグラフィックス | 分B10中 | | 39
コンピュータプログラマー | 人Z01下 | | 36
(3 rows)
select *,position('デ' in 用語) from 計算機用語;
NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x8727) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
ERROR: Unterminated quoted string
用語 | 分類コード | 備考1aだよ | position
-----------------------------------------+-----------------+----------------+----------
コンピュータディスプレイ | 機A01上 | | 7
コンピュータグラフィックス | 分B10中 | | 0
コンピュータプログラマー | 人Z01下 | | 0
(3 rows)
select *,substring(用語 from 10 for 4) from 計算機用語;
NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
ERROR: parser: parse error at or near "from"
用語 | 分類コード | 備考1aだよ | substring
-----------------------------------------+-----------------+----------------+--------------
コンピュータディスプレイ | 機A01上 | | プレイ
コンピュータグラフィックス | 分B10中 | | ィックス
コンピュータプログラマー | 人Z01下 | | ラマー
(3 rows)