new regression data for 7.1

This commit is contained in:
Tatsuo Ishii 2001-02-21 06:03:25 +00:00
parent ad7424e391
commit 62e48272c2
8 changed files with 458 additions and 407 deletions

View File

@ -1,4 +1,5 @@
drop table 廠商資料; drop table 廠商資料;
ERROR: table "廠商資料" does not exist
create table 廠商資料 (行業別 text, 公司抬頭 varchar, 地址 varchar(16)); create table 廠商資料 (行業別 text, 公司抬頭 varchar, 地址 varchar(16));
create index 廠商資料index1 on 廠商資料 using btree (行業別); create index 廠商資料index1 on 廠商資料 using btree (行業別);
create index 廠商資料index2 on 廠商資料 using hash (公司抬頭); create index 廠商資料index2 on 廠商資料 using hash (公司抬頭);
@ -67,15 +68,15 @@ select *, octet_length(
(3 rows) (3 rows)
select *, position('有限' in 公司抬頭) from 廠商資料; select *, position('有限' in 公司抬頭) from 廠商資料;
行業別 | 公司抬頭 | 地址 | strpos 行業別 | 公司抬頭 | 地址 | position
--------+------------------+---------+-------- --------+------------------+---------+----------
電腦業 | 達達科技 | 北A01仁 | 0 電腦業 | 達達科技 | 北A01仁 | 0
製造業 | 財源有限公司 | 中B10中 | 3 製造業 | 財源有限公司 | 中B10中 | 3
餐飲業 | 美味股份有限公司 | 高Z01九 | 5 餐飲業 | 美味股份有限公司 | 高Z01九 | 5
(3 rows) (3 rows)
select *, substring(公司抬頭 from 3 for 6 ) from 廠商資料; select *, substring(公司抬頭 from 3 for 6 ) from 廠商資料;
行業別 | 公司抬頭 | 地址 | substr 行業別 | 公司抬頭 | 地址 | substring
--------+------------------+---------+-------------- --------+------------------+---------+--------------
電腦業 | 達達科技 | 北A01仁 | 科技 電腦業 | 達達科技 | 北A01仁 | 科技
製造業 | 財源有限公司 | 中B10中 | 有限公司 製造業 | 財源有限公司 | 中B10中 | 有限公司

View File

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

View File

@ -1,5 +1,5 @@
drop table 計算機用語; drop table 計算機用語;
ERROR: Relation '計算機用語' does not exist ERROR: table "計算機用語" does not exist
create table 計算機用語 (用語 text, 分類コード varchar, 備考1Aだよ char(16)); create table 計算機用語 (用語 text, 分類コード varchar, 備考1Aだよ char(16));
create index 計算機用語index1 on 計算機用語 using btree (用語); create index 計算機用語index1 on 計算機用語 using btree (用語);
create index 計算機用語index2 on 計算機用語 using hash (分類コード); create index 計算機用語index2 on 計算機用語 using hash (分類コード);
@ -70,16 +70,16 @@ select *,octet_length(
(3 rows) (3 rows)
select *,position('デ' in 用語) from 計算機用語; select *,position('デ' in 用語) from 計算機用語;
用語 | 分類コード | 備考1aだよ | strpos 用語 | 分類コード | 備考1aだよ | position
----------------------------+------------+------------+-------- ----------------------------+------------+------------+----------
コンピュータディスプレイ | 機A01上 | | 7 コンピュータディスプレイ | 機A01上 | | 7
コンピュータグラフィックス | 分B10中 | | 0 コンピュータグラフィックス | 分B10中 | | 0
コンピュータプログラマー | 人Z01下 | | 0 コンピュータプログラマー | 人Z01下 | | 0
(3 rows) (3 rows)
select *,substring(用語 from 10 for 4) from 計算機用語; select *,substring(用語 from 10 for 4) from 計算機用語;
用語 | 分類コード | 備考1aだよ | substr 用語 | 分類コード | 備考1aだよ | substring
----------------------------+------------+------------+---------- ----------------------------+------------+------------+-----------
コンピュータディスプレイ | 機A01上 | | プレイ コンピュータディスプレイ | 機A01上 | | プレイ
コンピュータグラフィックス | 分B10中 | | ィックス コンピュータグラフィックス | 分B10中 | | ィックス
コンピュータプログラマー | 人Z01下 | | ラマー コンピュータプログラマー | 人Z01下 | | ラマー

View File

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

View File

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

View File

@ -1,5 +1,5 @@
drop table ’·×’»»’µ¡’ÍÑ’¸ì; drop table ’·×’»»’µ¡’ÍÑ’¸ì;
ERROR: Relation '’·×’»»’µ¡’ÍÑ’¸ì' does not exist ERROR: table "’·×’»»’µ¡’ÍÑ’¸ì" does not exist
create table ’·×’»»’µ¡’ÍÑ’¸ì (’ÍÑ’¸ì text, ’ʬ’Îà’¥³’¡¼’¥É varchar, È÷¹Í1A¤À¤è char(16)); create table ’·×’»»’µ¡’ÍÑ’¸ì (’ÍÑ’¸ì text, ’ʬ’Îà’¥³’¡¼’¥É varchar, È÷¹Í1A¤À¤è char(16));
create index ·×»»µ¡ÍѸìindex1 on ’·×’»»’µ¡’ÍÑ’¸ì using btree (’ÍÑ’¸ì); create index ·×»»µ¡ÍѸìindex1 on ’·×’»»’µ¡’ÍÑ’¸ì using btree (’ÍÑ’¸ì);
create index ·×»»µ¡ÍѸìindex2 on ’·×’»»’µ¡’ÍÑ’¸ì using hash (’ʬ’Îà’¥³’¡¼’¥É); create index ·×»»µ¡ÍѸìindex2 on ’·×’»»’µ¡’ÍÑ’¸ì using hash (’ʬ’Îà’¥³’¡¼’¥É);
@ -23,70 +23,69 @@ select * from
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É ~* '¿Íz01²¼'; select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É ~* '¿Íz01²¼';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è ’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
--------------------------------------+-----------------+---------------- --------+-----------------+----------------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | (0 rows)
(1 row)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É like '_Z01_'; select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É like '_Z01_';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è ’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
--------------------------------------+-----------------+---------------- --------+-----------------+----------------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | (0 rows)
(1 row)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É like '_Z%'; select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É like '_Z%';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è ’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
--------------------------------------+-----------------+---------------- --------+-----------------+----------------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | (0 rows)
(1 row)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ÍÑ’¸ì ~ '’¥³’¥ó’¥Ô’¥å’¡¼’¥¿[’¥Ç’¥°]'; select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ÍÑ’¸ì ~ '’¥³’¥ó’¥Ô’¥å’¡¼’¥¿[’¥Ç’¥°]';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è ’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
-----------------------------------------+-----------------+---------------- -----------------------------------------+-----------------+----------------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å | ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å |
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ |
(2 rows) ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ |
(3 rows)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ÍÑ’¸ì ~* '’¥³’¥ó’¥Ô’¥å’¡¼’¥¿[’¥Ç’¥°]'; select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ÍÑ’¸ì ~* '’¥³’¥ó’¥Ô’¥å’¡¼’¥¿[’¥Ç’¥°]';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è ’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
-----------------------------------------+-----------------+---------------- -----------------------------------------+-----------------+----------------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å | ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å |
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ |
(2 rows) ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ |
(3 rows)
select *,character_length(’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì; select *,character_length(’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | char_length ’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | char_length
-----------------------------------------+-----------------+----------------+------------- -----------------------------------------+-----------------+----------------+-------------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å | | 12 ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å | | 18
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | | 13 ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | | 20
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | | 12 ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | | 18
(3 rows) (3 rows)
select *,octet_length(’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì; select *,octet_length(’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | octet_length ’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | octet_length
-----------------------------------------+-----------------+----------------+-------------- -----------------------------------------+-----------------+----------------+--------------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å | | 36 ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å | | 54
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | | 39 ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | | 59
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | | 36 ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | | 54
(3 rows) (3 rows)
select *,position('’¥Ç' in ’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì; select *,position('’¥Ç' in ’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | strpos ’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | position
-----------------------------------------+-----------------+----------------+-------- -----------------------------------------+-----------------+----------------+----------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å | | 7 ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å | | 0
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | | 0 ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | | 0
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | | 0 ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | | 0
(3 rows) (3 rows)
select *,substring(’ÍÑ’¸ì from 10 for 4) from ’·×’»»’µ¡’ÍÑ’¸ì; select *,substring(’ÍÑ’¸ì from 10 for 4) from ’·×’»»’µ¡’ÍÑ’¸ì;
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | substr ’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | substring
-----------------------------------------+-----------------+----------------+-------------- -----------------------------------------+-----------------+----------------+-----------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å | | ’¥×’¥ì’¥¤ ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å | | ’¥Ç’¥£’¥
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | | ’¥£’¥Ã’¥¯’¥¹ ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | | ’¥°’¥é’¥
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | | ’¥é’¥Þ’¡¼ ’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | | ’¥×’¥í’¥
(3 rows) (3 rows)
drop table ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï; drop table ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
ERROR: Relation '‘¼Æ‘Ëã‘»ú‘Êõ‘Óï' does not exist ERROR: table "‘¼Æ‘Ëã‘»ú‘Êõ‘Óï" does not exist
create table ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï(‘Êõ‘Óï text, ‘·Ö‘Àà‘ºÅ varchar, ±¸×¢1A char(16)); create table ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï(‘Êõ‘Óï text, ‘·Ö‘Àà‘ºÅ varchar, ±¸×¢1A char(16));
create index ¼ÆËã»úÊõÓïindex1 on ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï using btree(‘Êõ‘Óï); create index ¼ÆËã»úÊõÓïindex1 on ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï using btree(‘Êõ‘Óï);
create index ¼ÆËã»úÊõÓïindex2 on ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï using btree(‘·Ö‘Àà‘ºÅ); create index ¼ÆËã»úÊõÓïindex2 on ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï using btree(‘·Ö‘Àà‘ºÅ);
@ -110,70 +109,65 @@ select * from
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ ~* 'ÈËz01ÏÂ'; select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ ~* 'ÈËz01ÏÂ';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a ‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
-----------------+-----------+---------- --------+-----------+----------
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | (0 rows)
(1 row)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ like '_Z01_'; select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ like '_Z01_';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a ‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
-----------------+-----------+---------- --------+-----------+----------
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | (0 rows)
(1 row)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ like '_Z%'; select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ like '_Z%';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a ‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
-----------------+-----------+---------- --------+-----------+----------
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | (0 rows)
(1 row)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘Êõ‘Óï ~ '‘µç‘ÄÔ[‘Ïԑͼ]'; select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘Êõ‘Óï ~ '‘µç‘ÄÔ[‘Ïԑͼ]';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a ‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
-----------------+-----------+---------- -----------------+-----------+----------
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ | ‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ |
‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | (1 row)
(2 rows)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘Êõ‘Óï ~* '‘µç‘ÄÔ[‘Ïԑͼ]'; select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘Êõ‘Óï ~* '‘µç‘ÄÔ[‘Ïԑͼ]';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a ‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
-----------------+-----------+---------- -----------------+-----------+----------
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ | ‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ |
‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | (1 row)
(2 rows)
select *,character_length(‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï; select *,character_length(‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | char_length ‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | char_length
-----------------+-----------+----------+------------- -----------------+-----------+----------+-------------
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ | | 5 ‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ | | 8
‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | | 4 ‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | | 6
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | | 5 ‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | | 8
(3 rows) (3 rows)
select *,octet_length(‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï; select *,octet_length(‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | octet_length ‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | octet_length
-----------------+-----------+----------+-------------- -----------------+-----------+----------+--------------
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ | | 15 ‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ | | 23
‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | | 12 ‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | | 18
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | | 15 ‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | | 23
(3 rows) (3 rows)
select *,position('‘ÏÔ' in ‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï; select *,position('‘ÏÔ' in ‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | strpos ‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | position
-----------------+-----------+----------+-------- -----------------+-----------+----------+----------
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ | | 3 ‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ | | 0
‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | | 0 ‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | | 0
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | | 0 ‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | | 0
(3 rows) (3 rows)
select *,substring(‘Êõ‘Óï from 3 for 4) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï; select *,substring(‘Êõ‘Óï from 3 for 4) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | substr ‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | substring
-----------------+-----------+----------+----------- -----------------+-----------+----------+-----------
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ | | ‘Ïԑʾ‘ÆÁ ‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ | | ÄÔ‘Ïԑʾ
‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | | ‘ͼ‘ÐÎ ‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | | Äԑͼ‘ÐÎ
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | | ‘³Ì‘Ðò‘Ô± ‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | | ÄÔ‘³Ì‘Ðò
(3 rows) (3 rows)
drop table “ͪ“ß©“Ѧ“¿ë“¾î; drop table “ͪ“ß©“Ѧ“¿ë“¾î;
ERROR: Relation '“ͪ“ß©“Ѧ“¿ë“¾î' does not exist ERROR: table "“ͪ“ß©“Ѧ“¿ë“¾î" does not exist
create table “ͪ“ß©“Ѧ“¿ë“¾î (“¿ë“¾î text, “Ý“׾“ÄÚ“µå varchar, “ºñ“°í1A“¶ó“±¸ char(16)); create table “ͪ“ß©“Ѧ“¿ë“¾î (“¿ë“¾î text, “Ý“׾“ÄÚ“µå varchar, “ºñ“°í1A“¶ó“±¸ char(16));
create index “ͪ“ß©“Ѧ“¿ë“¾îindex1 on “ͪ“ß©“Ѧ“¿ë“¾î using btree (“¿ë“¾î); create index “ͪ“ß©“Ѧ“¿ë“¾îindex1 on “ͪ“ß©“Ѧ“¿ë“¾î using btree (“¿ë“¾î);
create index “ͪ“ß©“Ѧ“¿ë“¾îindex2 on “ͪ“ß©“Ѧ“¿ë“¾î using hash (“Ý“׾“ÄÚ“µå); create index “ͪ“ß©“Ѧ“¿ë“¾îindex2 on “ͪ“ß©“Ѧ“¿ë“¾î using hash (“Ý“׾“ÄÚ“µå);
@ -197,70 +191,63 @@ select * from
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå ~* '“ìÑz01“ù»'; select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå ~* '“ìÑz01“ù»';
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ “¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
--------------------------+--------------+---------------- --------+--------------+----------------
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | (0 rows)
(1 row)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå like '_Z01_'; select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå like '_Z01_';
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ “¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
--------------------------+--------------+---------------- --------+--------------+----------------
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | (0 rows)
(1 row)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå like '_Z%'; select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå like '_Z%';
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ “¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
--------------------------+--------------+---------------- --------+--------------+----------------
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | (0 rows)
(1 row)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “¿ë“¾î ~ '“Äēǻ“ÅÍ[“µð“±×]'; select * from “ͪ“ß©“Ѧ“¿ë“¾î where “¿ë“¾î ~ '“Äēǻ“ÅÍ[“µð“±×]';
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ “¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
--------------------------+--------------+---------------- --------+--------------+----------------
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | (0 rows)
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé |
(2 rows)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “¿ë“¾î ~* '“Äēǻ“ÅÍ[“µð“±×]'; select * from “ͪ“ß©“Ѧ“¿ë“¾î where “¿ë“¾î ~* '“Äēǻ“ÅÍ[“µð“±×]';
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ “¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
--------------------------+--------------+---------------- --------+--------------+----------------
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | (0 rows)
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé |
(2 rows)
select *,character_length(“¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î; select *,character_length(“¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | char_length “¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | char_length
--------------------------+--------------+----------------+------------- --------------------------+--------------+----------------+-------------
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 8 “Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 12
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 7 “Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 11
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 8 “Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 12
(3 rows) (3 rows)
select *,octet_length(“¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î; select *,octet_length(“¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | octet_length “¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | octet_length
--------------------------+--------------+----------------+-------------- --------------------------+--------------+----------------+--------------
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 24 “Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 36
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 21 “Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 32
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 24 “Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 36
(3 rows) (3 rows)
select *,position('“µð' in “¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î; select *,position('“µð' in “¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | strpos “¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | position
--------------------------+--------------+----------------+-------- --------------------------+--------------+----------------+----------
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 4 “Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | 0
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 0 “Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 0
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 0 “Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 0
(3 rows) (3 rows)
select *,substring(“¿ë“¾î from 3 for 4) from “ͪ“ß©“Ѧ“¿ë“¾î; select *,substring(“¿ë“¾î from 3 for 4) from “ͪ“ß©“Ѧ“¿ë“¾î;
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | substr “¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | substring
--------------------------+--------------+----------------+-------------- --------------------------+--------------+----------------+-----------
“Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | “ÅÍ“µð“½º“Çà “Äēǻ“ÅÍ“µð“½º“ÇÓ·¹“ÀÌ | “ѦA01“ß¾ | | Ç»“ÅÍ“µð
“Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | “ÅÍ“±×“·¡“ÇÈ “Äēǻ“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | Ç»“ÅÍ“±×
“Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | “ÅÍ“ÇÁ“·Î“±× “Äēǻ“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | Ç»“ÅÍ“ÇÁ
(3 rows) (3 rows)
drop table test; drop table test;
ERROR: Relation 'test' does not exist ERROR: table "test" does not exist
create table test (t text); create table test (t text);
insert into test values('ENGLISH'); insert into test values('ENGLISH');
insert into test values('FRAN<41>ÇAIS'); insert into test values('FRAN<41>ÇAIS');
@ -305,15 +292,15 @@ select *,octet_length(t) from test;
t | octet_length t | octet_length
--------------------------------------+-------------- --------------------------------------+--------------
ENGLISH | 7 ENGLISH | 7
FRAN<41>ÇAIS | 9 FRAN<41>ÇAIS | 10
ESPA<50>ÑOL | 8 ESPA<50>ÑOL | 9
<20>ÍSLENSKA | 9 <20>ÍSLENSKA | 10
ENGLISH FRAN<41>ÇAIS ESPA<50>ÑOL <20>ÍSLENSKA | 36 ENGLISH FRAN<41>ÇAIS ESPA<50>ÑOL <20>ÍSLENSKA | 39
(5 rows) (5 rows)
select *,position('L' in t) from test; select *,position('L' in t) from test;
t | strpos t | position
--------------------------------------+-------- --------------------------------------+----------
ENGLISH | 4 ENGLISH | 4
FRAN<41>ÇAIS | 0 FRAN<41>ÇAIS | 0
ESPA<50>ÑOL | 7 ESPA<50>ÑOL | 7
@ -322,8 +309,8 @@ select *,position('L' in t) from test;
(5 rows) (5 rows)
select *,substring(t from 3 for 4) from test; select *,substring(t from 3 for 4) from test;
t | substr t | substring
--------------------------------------+-------- --------------------------------------+-----------
ENGLISH | GLIS ENGLISH | GLIS
FRAN<41>ÇAIS | AN<41>ÇA FRAN<41>ÇAIS | AN<41>ÇA
ESPA<50>ÑOL | PA<50>ÑO ESPA<50>ÑOL | PA<50>ÑO

View File

@ -69,16 +69,16 @@ select *,octet_length(
(3 rows) (3 rows)
select *,position('デ' in 用語) from 計算機用語; select *,position('デ' in 用語) from 計算機用語;
用語 | 分類コード | 備考1aだよ | strpos 用語 | 分類コード | 備考1aだよ | position
----------------------------+------------+------------+-------- ----------------------------+------------+------------+----------
コンピュータディスプレイ | 機A01上 | | 7 コンピュータディスプレイ | 機A01上 | | 7
コンピュータグラフィックス | 分B10中 | | 0 コンピュータグラフィックス | 分B10中 | | 0
コンピュータプログラマー | 人Z01下 | | 0 コンピュータプログラマー | 人Z01下 | | 0
(3 rows) (3 rows)
select *,substring(用語 from 10 for 4) from 計算機用語; select *,substring(用語 from 10 for 4) from 計算機用語;
用語 | 分類コード | 備考1aだよ | substr 用語 | 分類コード | 備考1aだよ | substring
----------------------------+------------+------------+---------- ----------------------------+------------+------------+-----------
コンピュータディスプレイ | 機A01上 | | プレイ コンピュータディスプレイ | 機A01上 | | プレイ
コンピュータグラフィックス | 分B10中 | | ィックス コンピュータグラフィックス | 分B10中 | | ィックス
コンピュータプログラマー | 人Z01下 | | ラマー コンピュータプログラマー | 人Z01下 | | ラマー

View File

@ -1,87 +1,295 @@
drop table 計算機用語; 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)); 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 (用語); 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 (分類コード); 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上'); 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中'); 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下'); 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 計算機用語; 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 計算機用語; select * from 計算機用語;
用語 | 分類コード | 備考1aだよ 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
コンピュータディスプレイ | 機A01上 | NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
コンピュータグラフィックス | 分B10中 | NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
コンピュータプログラマー | 人Z01下 | NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
(3 rows) ERROR: Relation 'è¨æ©èª' does not exist
select * from 計算機用語 where 分類コード = '人Z01下'; select * from 計算機用語 where 分類コード = '人Z01下';
用語 | 分類コード | 備考1aだよ 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
コンピュータプログラマー | 人Z01下 | NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
(1 row) 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下'; select * from 計算機用語 where 分類コード ~* '人z01下';
用語 | 分類コード | 備考1aだよ 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
コンピュータプログラマー | 人Z01下 | NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
(1 row) 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_'; select * from 計算機用語 where 分類コード like '_Z01_';
用語 | 分類コード | 備考1aだよ 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
コンピュータプログラマー | 人Z01下 | NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
(1 row) 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%'; select * from 計算機用語 where 分類コード like '_Z%';
用語 | 分類コード | 備考1aだよ 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
コンピュータプログラマー | 人Z01下 | NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
(1 row) 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 用語 ~ 'コンピュータ[デグ]'; select * from 計算機用語 where 用語 ~ 'コンピュータ[デグ]';
用語 | 分類コード | 備考1aだよ 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
コンピュータディスプレイ | 機A01上 | NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
コンピュータグラフィックス | 分B10中 | NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
(2 rows) 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 用語 ~* 'コンピュータ[デグ]'; select * from 計算機用語 where 用語 ~* 'コンピュータ[デグ]';
用語 | 分類コード | 備考1aだよ 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
コンピュータディスプレイ | 機A01上 | NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
コンピュータグラフィックス | 分B10中 | NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
(2 rows) 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 計算機用語; select *,character_length(用語) from 計算機用語;
用語 | 分類コード | 備考1aだよ | char_length 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
コンピュータディスプレイ | 機A01上 | | 12 NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
コンピュータグラフィックス | 分B10中 | | 13 NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
コンピュータプログラマー | 人Z01下 | | 12 NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
(3 rows) 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 計算機用語; select *,octet_length(用語) from 計算機用語;
用語 | 分類コード | 備考1aだよ | octet_length 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
コンピュータディスプレイ | 機A01上 | | 36 NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
コンピュータグラフィックス | 分B10中 | | 39 NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
コンピュータプログラマー | 人Z01下 | | 36 NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
(3 rows) 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 計算機用語; select *,position('デ' in 用語) from 計算機用語;
用語 | 分類コード | 備考1aだよ | strpos 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
コンピュータディスプレイ | 機A01上 | | 7 NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
コンピュータグラフィックス | 分B10中 | | 0 NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
コンピュータプログラマー | 人Z01下 | | 0 NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
(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: Unterminated quoted string
select *,substring(用語 from 10 for 4) from 計算機用語; select *,substring(用語 from 10 for 4) from 計算機用語;
用語 | 分類コード | 備考1aだよ | substr 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
コンピュータディスプレイ | 機A01上 | | プレイ NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
コンピュータグラフィックス | 分B10中 | | ィックス NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
コンピュータプログラマー | 人Z01下 | | ラマー NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
(3 rows) 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"