Commit 62e48272 authored by Tatsuo Ishii's avatar Tatsuo Ishii

new regression data for 7.1

parent ad7424e3
drop table 廠商資料;
ERROR: table "廠商資料" does not exist
create table 廠商資料 (行業別 text, 公司抬頭 varchar, 地址 varchar(16));
create index 廠商資料index1 on 廠商資料 using btree (行業別);
create index 廠商資料index2 on 廠商資料 using hash (公司抬頭);
......@@ -67,15 +68,15 @@ select *, octet_length(
(3 rows)
select *, position('有限' in 公司抬頭) from 廠商資料;
行業別 | 公司抬頭 | 地址 | strpos
--------+------------------+---------+--------
電腦業 | 達達科技 | 北A01仁 | 0
製造業 | 財源有限公司 | 中B10中 | 3
餐飲業 | 美味股份有限公司 | 高Z01九 | 5
行業別 | 公司抬頭 | 地址 | position
--------+------------------+---------+----------
電腦業 | 達達科技 | 北A01仁 | 0
製造業 | 財源有限公司 | 中B10中 | 3
餐飲業 | 美味股份有限公司 | 高Z01九 | 5
(3 rows)
select *, substring(公司抬頭 from 3 for 6 ) from 廠商資料;
行業別 | 公司抬頭 | 地址 | substr
行業別 | 公司抬頭 | 地址 | substring
--------+------------------+---------+--------------
電腦業 | 達達科技 | 北A01仁 | 科技
製造業 | 財源有限公司 | 中B10中 | 有限公司
......
drop table 计算机术语;
ERROR: Relation '计算机术语' does not exist
ERROR: parser: parse error at or near "("
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 计算机术语;
术语 | 分类号 | 备注1a
------------+---------+--------
电脑显示屏 | 机A01上 |
电脑图形 | 分B01中 |
电脑程序员 | 人Z01下 |
(3 rows)
ERROR: parser: parse error at or near "92"
select * from 计算机术语 where 分类号 = '人Z01下';
术语 | 分类号 | 备注1a
------------+---------+--------
电脑程序员 | 人Z01下 |
(1 row)
ERROR: parser: parse error at or near "92"
select * from 计算机术语 where 分类号 ~* '人z01下';
术语 | 分类号 | 备注1a
------------+---------+--------
电脑程序员 | 人Z01下 |
(1 row)
ERROR: parser: parse error at or near "92"
select * from 计算机术语 where 分类号 like '_Z01_';
术语 | 分类号 | 备注1a
------------+---------+--------
电脑程序员 | 人Z01下 |
(1 row)
ERROR: parser: parse error at or near "92"
select * from 计算机术语 where 分类号 like '_Z%';
术语 | 分类号 | 备注1a
------------+---------+--------
电脑程序员 | 人Z01下 |
(1 row)
ERROR: parser: parse error at or near "92"
select * from 计算机术语 where 术语 ~ '电脑[显图]';
术语 | 分类号 | 备注1a
------------+---------+--------
电脑显示屏 | 机A01上 |
电脑图形 | 分B01中 |
(2 rows)
ERROR: parser: parse error at or near "92"
select * from 计算机术语 where 术语 ~* '电脑[显图]';
术语 | 分类号 | 备注1a
------------+---------+--------
电脑显示屏 | 机A01上 |
电脑图形 | 分B01中 |
(2 rows)
ERROR: parser: parse error at or near "92"
select *,character_length(术语) from 计算机术语;
术语 | 分类号 | 备注1a | char_length
------------+---------+--------+-------------
电脑显示屏 | 机A01上 | | 5
电脑图形 | 分B01中 | | 4
电脑程序员 | 人Z01下 | | 5
(3 rows)
ERROR: parser: parse error at or near "caf5"
select *,octet_length(术语) from 计算机术语;
术语 | 分类号 | 备注1a | octet_length
------------+---------+--------+--------------
电脑显示屏 | 机A01上 | | 10
电脑图形 | 分B01中 | | 8
电脑程序员 | 人Z01下 | | 10
(3 rows)
ERROR: parser: parse error at or near "caf5"
select *,position('显' in 术语) from 计算机术语;
术语 | 分类号 | 备注1a | strpos
------------+---------+--------+--------
电脑显示屏 | 机A01上 | | 3
电脑图形 | 分B01中 | | 0
电脑程序员 | 人Z01下 | | 0
(3 rows)
ERROR: parser: parse error at or near "caf5"
select *,substring(术语 from 3 for 4) from 计算机术语;
术语 | 分类号 | 备注1a | substr
------------+---------+--------+--------
电脑显示屏 | 机A01上 | | 显示屏
电脑图形 | 分B01中 | | 图形
电脑程序员 | 人Z01下 | | 程序员
(3 rows)
ERROR: parser: parse error at or near "caf5"
drop table 計算機用語;
ERROR: Relation '計算機用語' does not exist
ERROR: table "計算機用語" does not exist
create table 計算機用語 (用語 text, 分類コード varchar, 備考1Aだよ char(16));
create index 計算機用語index1 on 計算機用語 using btree (用語);
create index 計算機用語index2 on 計算機用語 using hash (分類コード);
......@@ -70,16 +70,16 @@ select *,octet_length(
(3 rows)
select *,position('デ' in 用語) from 計算機用語;
用語 | 分類コード | 備考1aだよ | strpos
----------------------------+------------+------------+--------
コンピュータディスプレイ | 機A01上 | | 7
コンピュータグラフィックス | 分B10中 | | 0
コンピュータプログラマー | 人Z01下 | | 0
用語 | 分類コード | 備考1aだよ | position
----------------------------+------------+------------+----------
コンピュータディスプレイ | 機A01上 | | 7
コンピュータグラフィックス | 分B10中 | | 0
コンピュータプログラマー | 人Z01下 | | 0
(3 rows)
select *,substring(用語 from 10 for 4) from 計算機用語;
用語 | 分類コード | 備考1aだよ | substr
----------------------------+------------+------------+----------
用語 | 分類コード | 備考1aだよ | substring
----------------------------+------------+------------+-----------
コンピュータディスプレイ | 機A01上 | | プレイ
コンピュータグラフィックス | 分B10中 | | ィックス
コンピュータプログラマー | 人Z01下 | | ラマー
......
drop table 計算機용어;
ERROR: Relation '計算機용어' does not exist
ERROR: parser: parse error at or near "("
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 計算機용어;
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터디스플레이 | 機A01上 |
컴퓨터그래픽스 | 分B10中 |
컴퓨터프로그래머 | 人Z01下 |
(3 rows)
ERROR: parser: parse error at or near "92"
select * from 計算機용어 where 分類코드 = '人Z01下';
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터프로그래머 | 人Z01下 |
(1 row)
ERROR: parser: parse error at or near "92"
select * from 計算機용어 where 分類코드 ~* '人z01下';
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터프로그래머 | 人Z01下 |
(1 row)
ERROR: parser: parse error at or near "92"
select * from 計算機용어 where 分類코드 like '_Z01_';
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터프로그래머 | 人Z01下 |
(1 row)
ERROR: parser: parse error at or near "92"
select * from 計算機용어 where 分類코드 like '_Z%';
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터프로그래머 | 人Z01下 |
(1 row)
ERROR: parser: parse error at or near "92"
select * from 計算機용어 where 용어 ~ '컴퓨터[디그]';
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터디스플레이 | 機A01上 |
컴퓨터그래픽스 | 分B10中 |
(2 rows)
ERROR: parser: parse error at or near "92"
select * from 計算機용어 where 용어 ~* '컴퓨터[디그]';
용어 | 分類코드 | 비고1a라구
------------------+----------+------------
컴퓨터디스플레이 | 機A01上 |
컴퓨터그래픽스 | 分B10中 |
(2 rows)
ERROR: parser: parse error at or near "92"
select *,character_length(용어) from 計算機용어;
용어 | 分類코드 | 비고1a라구 | char_length
------------------+----------+------------+-------------
컴퓨터디스플레이 | 機A01上 | | 8
컴퓨터그래픽스 | 分B10中 | | 7
컴퓨터프로그래머 | 人Z01下 | | 8
(3 rows)
ERROR: parser: parse error at or near "bfeb"
select *,octet_length(용어) from 計算機용어;
용어 | 分類코드 | 비고1a라구 | octet_length
------------------+----------+------------+--------------
컴퓨터디스플레이 | 機A01上 | | 16
컴퓨터그래픽스 | 分B10中 | | 14
컴퓨터프로그래머 | 人Z01下 | | 16
(3 rows)
ERROR: parser: parse error at or near "bfeb"
select *,position('디' in 용어) from 計算機용어;
용어 | 分類코드 | 비고1a라구 | strpos
------------------+----------+------------+--------
컴퓨터디스플레이 | 機A01上 | | 4
컴퓨터그래픽스 | 分B10中 | | 0
컴퓨터프로그래머 | 人Z01下 | | 0
(3 rows)
ERROR: parser: parse error at or near "bfeb"
select *,substring(용어 from 3 for 4) from 計算機용어;
용어 | 分類코드 | 비고1a라구 | substr
------------------+----------+------------+----------
컴퓨터디스플레이 | 機A01上 | | 터디스플
컴퓨터그래픽스 | 分B10中 | | 터그래픽
컴퓨터프로그래머 | 人Z01下 | | 터프로그
(3 rows)
ERROR: parser: parse error at or near "bfeb"
drop table ٸ;
ERROR: Relation '燹俑骜砧' does not exist
ERROR: parser: parse error at or near "("
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 ٸ;
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+------------------+---------
缳妾淦 | 绠绠绎世 | 啤A01念
犒葸淦 | 芈溷却宇狞瞥 | 你B10你
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
(3 rows)
ERROR: parser: parse error at or near "92"
select * from ٸ where = 'Z01Ħ';
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+------------------+---------
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
(1 row)
ERROR: parser: parse error at or near "92"
select * from ٸ where ~* 'z01Ħ';
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+------------------+---------
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
(1 row)
ERROR: parser: parse error at or near "92"
select * from ٸ where like '_Z01_';
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+------------------+---------
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
(1 row)
ERROR: parser: parse error at or near "92"
select * from ٸ where like '_Z%';
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+------------------+---------
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩
(1 row)
ERROR: parser: parse error at or near "92"
select * from ٸ where Ƴ ~ '[ش]';
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+----------+---------
缳妾淦 | 绠绠绎世 | 啤A01念
(1 row)
ERROR: parser: parse error at or near "92"
select * from ٸ where Ƴ ~* '[ش]';
如淦杀 | 狞瞥婉螭 | 氢蛇
--------+----------+---------
缳妾淦 | 绠绠绎世 | 啤A01念
(1 row)
ERROR: parser: parse error at or near "92"
select *, character_length(ɱ) from ٸ;
如淦杀 | 狞瞥婉螭 | 氢蛇 | char_length
--------+------------------+---------+-------------
缳妾淦 | 绠绠绎世 | 啤A01念 | 3
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 3
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 3
(3 rows)
ERROR: parser: parse error at or near "c8e7"
select *, octet_length(ɱ) from ٸ;
如淦杀 | 狞瞥婉螭 | 氢蛇 | octet_length
--------+------------------+---------+--------------
缳妾淦 | 绠绠绎世 | 啤A01念 | 6
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 6
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 6
(3 rows)
ERROR: parser: parse error at or near "c8e7"
select *, position('ȴ' in Ƴ) from ٸ;
如淦杀 | 狞瞥婉螭 | 氢蛇 | strpos
--------+------------------+---------+--------
缳妾淦 | 绠绠绎世 | 啤A01念 | 0
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 3
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 5
(3 rows)
ERROR: parser: parse error at or near "c4fc"
select *, substring(Ƴ from 3 for 6 ) from ٸ;
如淦杀 | 狞瞥婉螭 | 氢蛇 | substr
--------+------------------+---------+--------------
缳妾淦 | 绠绠绎世 | 啤A01念 | 绎世
犒葸淦 | 芈溷却宇狞瞥 | 你B10你 | 却宇狞瞥
螫悖淦 | 印汤洗枪却宇狞瞥 | 仨Z01摩 | 洗枪却宇狞瞥
(3 rows)
ERROR: parser: parse error at or near "c4fc"
drop table גђ;
ERROR: Relation 'גђ' does not exist
ERROR: table "גђ" does not exist
create table גђ (ђ text, ʬ varchar, 1A char(16));
create index גђindex1 on גђ using btree (ђ);
create index גђindex2 on גђ using hash (ʬ);
......@@ -22,71 +22,70 @@ select * from
(1 row)
select * from גђ where ʬ ~* 'z01';
ђ | ʬ | 1a
--------------------------------------+-----------------+----------------
Ԓ咡ג풥钥ޒ | Z01 |
(1 row)
ђ | ʬ | 1a
--------+-----------------+----------------
(0 rows)
select * from גђ where ʬ like '_Z01_';
ђ | ʬ | 1a
--------------------------------------+-----------------+----------------
Ԓ咡ג풥钥ޒ | Z01 |
(1 row)
ђ | ʬ | 1a
--------+-----------------+----------------
(0 rows)
select * from גђ where ʬ like '_Z%';
ђ | ʬ | 1a
--------------------------------------+-----------------+----------------
Ԓ咡ג풥钥ޒ | Z01 |
(1 row)
ђ | ʬ | 1a
--------+-----------------+----------------
(0 rows)
select * from גђ where ђ ~ 'Ԓ咡[ǒ]';
ђ | ʬ | 1a
-----------------------------------------+-----------------+----------------
Ԓ咡ǒג쒥 | A01 |
Ԓ咡钥ՒÒ | ʬB10 |
(2 rows)
Ԓ咡ג풥钥ޒ | Z01 |
(3 rows)
select * from גђ where ђ ~* 'Ԓ咡[ǒ]';
ђ | ʬ | 1a
-----------------------------------------+-----------------+----------------
Ԓ咡ǒג쒥 | A01 |
Ԓ咡钥ՒÒ | ʬB10 |
(2 rows)
Ԓ咡ג풥钥ޒ | Z01 |
(3 rows)
select *,character_length(ђ) from גђ;
ђ | ʬ | 1a | char_length
-----------------------------------------+-----------------+----------------+-------------
Ԓ咡ǒג쒥 | A01 | | 12
Ԓ咡钥ՒÒ | ʬB10 | | 13
Ԓ咡ג풥钥ޒ | Z01 | | 12
Ԓ咡ǒג쒥 | A01 | | 18
Ԓ咡钥ՒÒ | ʬB10 | | 20
Ԓ咡ג풥钥ޒ | Z01 | | 18
(3 rows)
select *,octet_length(ђ) from גђ;
ђ | ʬ | 1a | octet_length
-----------------------------------------+-----------------+----------------+--------------
Ԓ咡ǒג쒥 | A01 | | 36
Ԓ咡钥ՒÒ | ʬB10 | | 39
Ԓ咡ג풥钥ޒ | Z01 | | 36
Ԓ咡ǒג쒥 | A01 | | 54
Ԓ咡钥ՒÒ | ʬB10 | | 59
Ԓ咡ג풥钥ޒ | Z01 | | 54
(3 rows)
select *,position('' in ђ) from גђ;
ђ | ʬ | 1a | strpos
-----------------------------------------+-----------------+----------------+--------
Ԓ咡ǒג쒥 | A01 | | 7
Ԓ咡钥ՒÒ | ʬB10 | | 0
Ԓ咡ג풥钥ޒ | Z01 | | 0
ђ | ʬ | 1a | position
-----------------------------------------+-----------------+----------------+----------
Ԓ咡ǒג쒥 | A01 | | 0
Ԓ咡钥ՒÒ | ʬB10 | | 0
Ԓ咡ג풥钥ޒ | Z01 | | 0
(3 rows)
select *,substring(ђ from 10 for 4) from גђ;
ђ | ʬ | 1a | substr
-----------------------------------------+-----------------+----------------+--------------
Ԓ咡ǒג쒥 | A01 | | ג쒥
Ԓ咡钥ՒÒ | ʬB10 | | Ò
Ԓ咡ג풥钥ޒ | Z01 | | 钥ޒ
ђ | ʬ | 1a | substring
-----------------------------------------+-----------------+----------------+-----------
Ԓ咡ǒג쒥 | A01 | | ǒ
Ԓ咡钥ՒÒ | ʬB10 | |
Ԓ咡ג풥钥ޒ | Z01 | | ג풥
(3 rows)
drop table Ƒ㑻;
ERROR: Relation 'Ƒ㑻' does not exist
ERROR: table "Ƒ㑻" does not exist
create table Ƒ㑻( text, ֑ varchar, ע1A char(16));
create index Ƒ㑻index1 on Ƒ㑻 using btree();
create index Ƒ㑻index2 on Ƒ㑻 using btree(֑);
......@@ -109,71 +108,66 @@ select * from
(1 row)
select * from Ƒ㑻 where ֑ ~* 'z01';
| ֑ | ע1a
-----------------+-----------+----------
ԑ̑Ա | Z01 |
(1 row)
| ֑ | ע1a
--------+-----------+----------
(0 rows)
select * from Ƒ㑻 where ֑ like '_Z01_';
| ֑ | ע1a
-----------------+-----------+----------
ԑ̑Ա | Z01 |
(1 row)
| ֑ | ע1a
--------+-----------+----------
(0 rows)
select * from Ƒ㑻 where ֑ like '_Z%';
| ֑ | ע1a
-----------------+-----------+----------
ԑ̑Ա | Z01 |
(1 row)
| ֑ | ע1a
--------+-----------+----------
(0 rows)
select * from Ƒ㑻 where ~ '[ԑͼ]';
| ֑ | ע1a
-----------------+-----------+----------
ԑԑʾ | A01 |
ԑͼ | B01 |
(2 rows)
(1 row)
select * from Ƒ㑻 where ~* '[ԑͼ]';
| ֑ | ע1a
-----------------+-----------+----------
ԑԑʾ | A01 |
ԑͼ | B01 |
(2 rows)
(1 row)
select *,character_length() from Ƒ㑻;
| ֑ | ע1a | char_length
-----------------+-----------+----------+-------------
ԑԑʾ | A01 | | 5
ԑͼ | B01 | | 4
ԑ̑Ա | Z01 | | 5
ԑԑʾ | A01 | | 8
ԑͼ | B01 | | 6
ԑ̑Ա | Z01 | | 8
(3 rows)
select *,octet_length() from Ƒ㑻;
| ֑ | ע1a | octet_length
-----------------+-----------+----------+--------------
ԑԑʾ | A01 | | 15
ԑͼ | B01 | | 12
ԑ̑Ա | Z01 | | 15
ԑԑʾ | A01 | | 23
ԑͼ | B01 | | 18
ԑ̑Ա | Z01 | | 23
(3 rows)
select *,position('' in ) from Ƒ㑻;
| ֑ | ע1a | strpos
-----------------+-----------+----------+--------
ԑԑʾ | A01 | | 3
ԑͼ | B01 | | 0
ԑ̑Ա | Z01 | | 0
| ֑ | ע1a | position
-----------------+-----------+----------+----------
ԑԑʾ | A01 | | 0
ԑͼ | B01 | | 0
ԑ̑Ա | Z01 | | 0
(3 rows)
select *,substring( from 3 for 4) from Ƒ㑻;
| ֑ | ע1a | substr
| ֑ | ע1a | substring
-----------------+-----------+----------+-----------
ԑԑʾ | A01 | | ԑʾ
ԑͼ | B01 | | ͼ
ԑ̑Ա | Z01 | | ̑Ա
ԑԑʾ | A01 | | ԑԑʾ
ԑͼ | B01 | | ԑͼ
ԑ̑Ա | Z01 | | ԑ̑
(3 rows)
drop table ͪߩѦ듾;
ERROR: Relation 'ͪߩѦ듾' does not exist
ERROR: table "ͪߩѦ듾" does not exist
create table ͪߩѦ듾 (듾 text, “׾ړ varchar, 1A󓱸 char(16));
create index ͪߩѦ듾index1 on ͪߩѦ듾 using btree (듾);
create index ͪߩѦ듾index2 on ͪߩѦ듾 using hash (“׾ړ);
......@@ -196,71 +190,64 @@ select * from
(1 row)
select * from ͪߩѦ듾 where “׾ړ ~* 'z01';
듾 | “׾ړ | 1a󓱸
--------------------------+--------------+----------------
ēǻ͓Γד | Z01 |
(1 row)
듾 | “׾ړ | 1a󓱸
--------+--------------+----------------
(0 rows)
select * from ͪߩѦ듾 where “׾ړ like '_Z01_';
듾 | “׾ړ | 1a󓱸
--------------------------+--------------+----------------
ēǻ͓Γד | Z01 |
(1 row)
듾 | “׾ړ | 1a󓱸
--------+--------------+----------------
(0 rows)
select * from ͪߩѦ듾 where “׾ړ like '_Z%';
듾 | “׾ړ | 1a󓱸
--------------------------+--------------+----------------
ēǻ͓Γד | Z01 |
(1 row)
듾 | “׾ړ | 1a󓱸
--------+--------------+----------------
(0 rows)
select * from ͪߩѦ듾 where 듾 ~ 'ēǻ[]';
듾 | “׾ړ | 1a󓱸
--------------------------+--------------+----------------
ēǻ͓𓽺Ó | ѦA01߾ |
ēǻ͓דȓ | B10 |
(2 rows)
듾 | “׾ړ | 1a󓱸
--------+--------------+----------------
(0 rows)
select * from ͪߩѦ듾 where 듾 ~* 'ēǻ[]';
듾 | “׾ړ | 1a󓱸
--------------------------+--------------+----------------
ēǻ͓𓽺Ó | ѦA01߾ |
ēǻ͓דȓ | B10 |
(2 rows)
듾 | “׾ړ | 1a󓱸
--------+--------------+----------------
(0 rows)
select *,character_length(듾) from ͪߩѦ듾;
듾 | “׾ړ | 1a󓱸 | char_length
--------------------------+--------------+----------------+-------------
ēǻ͓𓽺Ó | ѦA01߾ | | 8
ēǻ͓דȓ | B10 | | 7
ēǻ͓Γד | Z01 | | 8
ēǻ͓𓽺Ó | ѦA01߾ | | 12
ēǻ͓דȓ | B10 | | 11
ēǻ͓Γד | Z01 | | 12
(3 rows)
select *,octet_length(듾) from ͪߩѦ듾;
듾 | “׾ړ | 1a󓱸 | octet_length
--------------------------+--------------+----------------+--------------
ēǻ͓𓽺Ó | ѦA01߾ | | 24
ēǻ͓דȓ | B10 | | 21
ēǻ͓Γד | Z01 | | 24
ēǻ͓𓽺Ó | ѦA01߾ | | 36
ēǻ͓דȓ | B10 | | 32
ēǻ͓Γד | Z01 | | 36
(3 rows)
select *,position('' in 듾) from ͪߩѦ듾;
듾 | “׾ړ | 1a󓱸 | strpos
--------------------------+--------------+----------------+--------
ēǻ͓𓽺Ó | ѦA01߾ | | 4
ēǻ͓דȓ | B10 | | 0
ēǻ͓Γד | Z01 | | 0
듾 | “׾ړ | 1a󓱸 | position
--------------------------+--------------+----------------+----------
ēǻ͓𓽺Ó | ѦA01߾ | | 0
ēǻ͓דȓ | B10 | | 0
ēǻ͓Γד | Z01 | | 0
(3 rows)
select *,substring(듾 from 3 for 4) from ͪߩѦ듾;
듾 | “׾ړ | 1a󓱸 | substr
--------------------------+--------------+----------------+--------------
ēǻ͓𓽺Ó | ѦA01߾ | | ͓𓽺
ēǻ͓דȓ | B10 | | ͓ד
ēǻ͓Γד | Z01 | | ͓Γ
듾 | “׾ړ | 1a󓱸 | substring
--------------------------+--------------+----------------+-----------
ēǻ͓𓽺Ó | ѦA01߾ | | ǻ͓
ēǻ͓דȓ | B10 | | ǻ͓
ēǻ͓Γד | Z01 | | ǻ͓
(3 rows)
drop table test;
ERROR: Relation 'test' does not exist
ERROR: table "test" does not exist
create table test (t text);
insert into test values('ENGLISH');
insert into test values('FRANAIS');
......@@ -305,25 +292,25 @@ select *,octet_length(t) from test;
t | octet_length
--------------------------------------+--------------
ENGLISH | 7
FRANAIS | 9
ESPAOL | 8
SLENSKA | 9
ENGLISH FRANAIS ESPAOL SLENSKA | 36
FRANAIS | 10
ESPAOL | 9
SLENSKA | 10
ENGLISH FRANAIS ESPAOL SLENSKA | 39
(5 rows)
select *,position('L' in t) from test;
t | strpos
--------------------------------------+--------
ENGLISH | 4
FRANAIS | 0
ESPAOL | 7
SLENSKA | 3
ENGLISH FRANAIS ESPAOL SLENSKA | 4
t | position
--------------------------------------+----------
ENGLISH | 4
FRANAIS | 0
ESPAOL | 7
SLENSKA | 3
ENGLISH FRANAIS ESPAOL SLENSKA | 4
(5 rows)
select *,substring(t from 3 for 4) from test;
t | substr
--------------------------------------+--------
t | substring
--------------------------------------+-----------
ENGLISH | GLIS
FRANAIS | ANA
ESPAOL | PAO
......
......@@ -69,16 +69,16 @@ select *,octet_length(
(3 rows)
select *,position('デ' in 用語) from 計算機用語;
用語 | 分類コード | 備考1aだよ | strpos
----------------------------+------------+------------+--------
コンピュータディスプレイ | 機A01上 | | 7
コンピュータグラフィックス | 分B10中 | | 0
コンピュータプログラマー | 人Z01下 | | 0
用語 | 分類コード | 備考1aだよ | position
----------------------------+------------+------------+----------
コンピュータディスプレイ | 機A01上 | | 7
コンピュータグラフィックス | 分B10中 | | 0
コンピュータプログラマー | 人Z01下 | | 0
(3 rows)
select *,substring(用語 from 10 for 4) from 計算機用語;
用語 | 分類コード | 備考1aだよ | substr
----------------------------+------------+------------+----------
用語 | 分類コード | 備考1aだよ | substring
----------------------------+------------+------------+-----------
コンピュータディスプレイ | 機A01上 | | プレイ
コンピュータグラフィックス | 分B10中 | | ィックス
コンピュータプログラマー | 人Z01下 | | ラマー
......
drop table 計算機用語;
ERROR: Relation '計算機用語' does not exist
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
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 計算機用語;
用語 | 分類コード | 備考1aだよ
-----------------------------------------+-----------------+----------------
コンピュータディスプレイ | 機A01上 |
コンピュータグラフィックス | 分B10中 |
コンピュータプログラマー | 人Z01下 |
(3 rows)
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
select * from 計算機用語 where 分類コード = '人Z01下';
用語 | 分類コード | 備考1aだよ
--------------------------------------+-----------------+----------------
コンピュータプログラマー | 人Z01下 |
(1 row)
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 "="
select * from 計算機用語 where 分類コード ~* '人z01下';
用語 | 分類コード | 備考1aだよ
--------------------------------------+-----------------+----------------
コンピュータプログラマー | 人Z01下 |
(1 row)
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 "~*"
select * from 計算機用語 where 分類コード like '_Z01_';
用語 | 分類コード | 備考1aだよ
--------------------------------------+-----------------+----------------
コンピュータプログラマー | 人Z01下 |
(1 row)
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 "'"
select * from 計算機用語 where 分類コード like '_Z%';
用語 | 分類コード | 備考1aだよ
--------------------------------------+-----------------+----------------
コンピュータプログラマー | 人Z01下 |
(1 row)
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 "'"
select * from 計算機用語 where 用語 ~ 'コンピュータ[デグ]';
用語 | 分類コード | 備考1aだよ
-----------------------------------------+-----------------+----------------
コンピュータディスプレイ | 機A01上 |
コンピュータグラフィックス | 分B10中 |
(2 rows)
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 "~"
select * from 計算機用語 where 用語 ~* 'コンピュータ[デグ]';
用語 | 分類コード | 備考1aだよ
-----------------------------------------+-----------------+----------------
コンピュータディスプレイ | 機A01上 |
コンピュータグラフィックス | 分B10中 |
(2 rows)
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 "~*"
select *,character_length(用語) from 計算機用語;
用語 | 分類コード | 備考1aだよ | char_length
-----------------------------------------+-----------------+----------------+-------------
コンピュータディスプレイ | 機A01上 | | 12
コンピュータグラフィックス | 分B10中 | | 13
コンピュータプログラマー | 人Z01下 | | 12
(3 rows)
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
select *,octet_length(用語) from 計算機用語;
用語 | 分類コード | 備考1aだよ | octet_length
-----------------------------------------+-----------------+----------------+--------------
コンピュータディスプレイ | 機A01上 | | 36
コンピュータグラフィックス | 分B10中 | | 39
コンピュータプログラマー | 人Z01下 | | 36
(3 rows)
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
select *,position('デ' in 用語) from 計算機用語;
用語 | 分類コード | 備考1aだよ | strpos
-----------------------------------------+-----------------+----------------+--------
コンピュータディスプレイ | 機A01上 | | 7
コンピュータグラフィックス | 分B10中 | | 0
コンピュータプログラマー | 人Z01下 | | 0
(3 rows)
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
select *,substring(用語 from 10 for 4) from 計算機用語;
用語 | 分類コード | 備考1aだよ | substr
-----------------------------------------+-----------------+----------------+--------------
コンピュータディスプレイ | 機A01上 | | プレイ
コンピュータグラフィックス | 分B10中 | | ィックス
コンピュータプログラマー | 人Z01下 | | ラマー
(3 rows)
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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment