Fix expected files.

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

View File

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

View File

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

View File

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

View File

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

View File

@ -23,65 +23,66 @@ select * from
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É ~* '¿Íz01²¼';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
--------+-----------------+----------------
(0 rows)
--------------------------------------+-----------------+----------------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ |
(1 row)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É like '_Z01_';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
--------+-----------------+----------------
(0 rows)
--------------------------------------+-----------------+----------------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ |
(1 row)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ʬ’Îà’¥³’¡¼’¥É like '_Z%';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
--------+-----------------+----------------
(0 rows)
--------------------------------------+-----------------+----------------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ |
(1 row)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ÍÑ’¸ì ~ '’¥³’¥ó’¥Ô’¥å’¡¼’¥¿[’¥Ç’¥°]';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
-----------------------------------------+-----------------+----------------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å |
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ |
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥Χ’¥ν’¥°’¥ι’¥ή’΅Ό | ΏΝZ01²Ό |
(3 rows)
(2 rows)
select * from ’·×’»»’µ¡’ÍÑ’¸ì where ’ÍÑ’¸ì ~* '’¥³’¥ó’¥Ô’¥å’¡¼’¥¿[’¥Ç’¥°]';
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è
-----------------------------------------+-----------------+----------------
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥Ç’¥£’¥¹’¥×’¥ì’¥¤ | µ¡A01¾å |
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ |
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥Χ’¥ν’¥°’¥ι’¥ή’΅Ό | ΏΝZ01²Ό |
(3 rows)
(2 rows)
select *,character_length(’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | char_length
-----------------------------------------+-----------------+----------------+-------------
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥Η’¥£’¥Ή’¥Χ’¥μ’¥¤ | µ΅A01Ύε | | 18
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥°’¥ι’¥Υ’¥£’¥Γ’¥―’¥Ή | Κ¬B10Γζ | | 20
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥Χ’¥ν’¥°’¥ι’¥ή’΅Ό | ΏΝZ01²Ό | | 18
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | 12
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔╟▓╔И▓╔у▓╔ё▓╔ц▓╔╞▓╔╧ | ▓й╛B10▓цФ | | 13
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ | | 12
(3 rows)
select *,octet_length(’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | octet_length
-----------------------------------------+-----------------+----------------+--------------
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥Η’¥£’¥Ή’¥Χ’¥μ’¥¤ | µ΅A01Ύε | | 54
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥°’¥ι’¥Υ’¥£’¥Γ’¥―’¥Ή | Κ¬B10Γζ | | 59
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥Χ’¥ν’¥°’¥ι’¥ή’΅Ό | ΏΝZ01²Ό | | 54
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | 36
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔╟▓╔И▓╔у▓╔ё▓╔ц▓╔╞▓╔╧ | ▓й╛B10▓цФ | | 39
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ | | 36
(3 rows)
select *,position('’¥Ç' in ’ÍÑ’¸ì) from ’·×’»»’µ¡’ÍÑ’¸ì;
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | position
-----------------------------------------+-----------------+----------------+----------
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥Η’¥£’¥Ή’¥Χ’¥μ’¥¤ | µ΅A01Ύε | | 0
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | 7
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥°’¥é’¥Õ’¥£’¥Ã’¥¯’¥¹ | ʬB10Ãæ | | 0
’¥³’¥ó’¥Ô’¥å’¡¼’¥¿’¥×’¥í’¥°’¥é’¥Þ’¡¼ | ¿ÍZ01²¼ | | 0
(3 rows)
select *,substring(’ÍÑ’¸ì from 10 for 4) from ’·×’»»’µ¡’ÍÑ’¸ì;
’ÍÑ’¸ì | ’ʬ’Îà’¥³’¡¼’¥É | È÷¹Í1a¤À¤è | substring
-----------------------------------------+-----------------+----------------+-----------
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥Η’¥£’¥Ή’¥Χ’¥μ’¥¤ | µ΅A01Ύε | | ’¥Η’¥£’¥
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥°’¥ι’¥Υ’¥£’¥Γ’¥―’¥Ή | Κ¬B10Γζ | | ’¥°’¥ι’¥
’¥³’¥σ’¥Τ’¥ε’΅Ό’¥Ώ’¥Χ’¥ν’¥°’¥ι’¥ή’΅Ό | ΏΝZ01²Ό | | ’¥Χ’¥ν’¥
-----------------------------------------+-----------------+----------------+--------------
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔г▓╔ё▓╔╧▓╔в▓╔Л▓╔╓ | ▓╣║A01▓╬Е | | ▓╔в▓╔Л▓╔╓
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔╟▓╔И▓╔у▓╔ё▓╔ц▓╔╞▓╔╧ | ▓й╛B10▓цФ | | ▓╔ё▓╔ц▓╔╞▓╔╧
▓╔Ё▓╔С▓╔т▓╔Е▓║╪▓╔©▓╔в▓╔М▓╔╟▓╔И▓╔ч▓║╪ | ▓©мZ01▓╡╪ | | ▓╔И▓╔ч▓║╪
(3 rows)
drop table ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
@ -109,51 +110,56 @@ select * from
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ ~* 'ÈËz01ÏÂ';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
--------+-----------+----------
(0 rows)
-----------------+-----------+----------
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об |
(1 row)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ like '_Z01_';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
--------+-----------+----------
(0 rows)
-----------------+-----------+----------
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об |
(1 row)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘·Ö‘Àà‘ºÅ like '_Z%';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
--------+-----------+----------
(0 rows)
-----------------+-----------+----------
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об |
(1 row)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘Êõ‘Óï ~ '‘µç‘ÄÔ[‘Ïԑͼ]';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
-----------------+-----------+----------
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ |
(1 row)
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп |
(2 rows)
select * from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï where ‘Êõ‘Óï ~* '‘µç‘ÄÔ[‘Ïԑͼ]';
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a
-----------------+-----------+----------
‘µç‘ÄÔ‘Ïԑʾ‘ÆÁ | »úA01ÉÏ |
(1 row)
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп |
(2 rows)
select *,character_length(‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | char_length
-----------------+-----------+----------+-------------
‘µη‘ΔΤ‘ΟΤ‘ΚΎ‘ΖΑ | »ϊA01ΙΟ | | 8
‘µη‘ΔΤ‘ΝΌ‘ΠΞ | ·ΦB01ΦΠ | | 6
‘µη‘ΔΤ‘³Μ‘Πς‘Τ± | ΘΛZ01ΟΒ | | 8
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | 5
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп | | 4
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об | | 5
(3 rows)
select *,octet_length(‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | octet_length
-----------------+-----------+----------+--------------
‘µη‘ΔΤ‘ΟΤ‘ΚΎ‘ΖΑ | »ϊA01ΙΟ | | 23
‘µη‘ΔΤ‘ΝΌ‘ΠΞ | ·ΦB01ΦΠ | | 18
‘µη‘ΔΤ‘³Μ‘Πς‘Τ± | ΘΛZ01ΟΒ | | 23
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | 15
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп | | 12
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об | | 15
(3 rows)
select *,position('‘ÏÔ' in ‘Êõ‘Óï) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | position
-----------------+-----------+----------+----------
‘µη‘ΔΤ‘ΟΤ‘ΚΎ‘ΖΑ | »ϊA01ΙΟ | | 0
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | 3
‘µç‘Äԑͼ‘ÐÎ | ·ÖB01ÖÐ | | 0
‘µç‘ÄÔ‘³Ì‘Ðò‘Ô± | ÈËZ01Ï | | 0
(3 rows)
@ -161,9 +167,9 @@ select *,position('
select *,substring(‘Êõ‘Óï from 3 for 4) from ‘¼Æ‘Ëã‘»ú‘Êõ‘Óï;
‘Êõ‘Óï | ‘·Ö‘Àà‘ºÅ | ±¸×¢1a | substring
-----------------+-----------+----------+-----------
‘µη‘ΔΤ‘ΟΤ‘ΚΎ‘ΖΑ | »ϊA01ΙΟ | | ΔΤ‘ΟΤ‘ΚΎ
‘µη‘ΔΤ‘ΝΌ‘ΠΞ | ·ΦB01ΦΠ | | ΔΤ‘ΝΌ‘ΠΞ
‘µη‘ΔΤ‘³Μ‘Πς‘Τ± | ΘΛZ01ΟΒ | | ΔΤ‘³Μ‘Πς
▒╣Г▒дт▒от▒й╬▒фа | ▒╩ЗA01▒ио | | ▒от▒й╬▒фа
▒╣Г▒дт▒м╪▒пн | ▒╥жB01▒жп | | ▒м╪▒пн
▒╣Г▒дт▒Ёл▒пР▒т╠ | ▒хкZ01▒об | | ▒Ёл▒пР▒т╠
(3 rows)
drop table “ͪ“ß©“Ѧ“¿ë“¾î;
@ -191,59 +197,66 @@ select * from
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå ~* '“ìÑz01“ù»';
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
--------+--------------+----------------
(0 rows)
--------------------------+--------------+----------------
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ |
(1 row)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå like '_Z01_';
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
--------+--------------+----------------
(0 rows)
--------------------------+--------------+----------------
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ |
(1 row)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “Ý“׾“ÄÚ“µå like '_Z%';
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
--------+--------------+----------------
(0 rows)
--------------------------+--------------+----------------
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ |
(1 row)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “¿ë“¾î ~ '“ÄÄ“Ç»“ÅÍ[“µð“±×]';
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
--------+--------------+----------------
(0 rows)
--------------------------+--------------+----------------
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ |
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ |
(2 rows)
select * from “ͪ“ß©“Ѧ“¿ë“¾î where “¿ë“¾î ~* '“ÄÄ“Ç»“ÅÍ[“µð“±×]';
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸
--------+--------------+----------------
(0 rows)
--------------------------+--------------+----------------
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ |
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ |
(2 rows)
select *,character_length(“¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | char_length
--------------------------+--------------+----------------+-------------
“ΔΔ“Η»“ΕΝ“µπ“½Ί“ΗΓ“·Ή“ΐΜ | “Ρ¦A01“ίΎ | | 12
“ΔΔ“Η»“ΕΝ“±Χ“·΅“ΗΘ“½Ί | “έΒB10“ρι | | 11
“ΔΔ“Η»“ΕΝ“ΗΑ“·Ξ“±Χ“·΅“ΈΣ | “μΡZ01“ω» | | 12
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | 8
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ | | 7
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ | | 8
(3 rows)
select *,octet_length(“¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | octet_length
--------------------------+--------------+----------------+--------------
“ΔΔ“Η»“ΕΝ“µπ“½Ί“ΗΓ“·Ή“ΐΜ | “Ρ¦A01“ίΎ | | 36
“ΔΔ“Η»“ΕΝ“±Χ“·΅“ΗΘ“½Ί | “έΒB10“ρι | | 32
“ΔΔ“Η»“ΕΝ“ΗΑ“·Ξ“±Χ“·΅“ΈΣ | “μΡZ01“ω» | | 36
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | 24
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ | | 21
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ | | 24
(3 rows)
select *,position('“µð' in “¿ë“¾î) from “ͪ“ß©“Ѧ“¿ë“¾î;
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | position
--------------------------+--------------+----------------+----------
“ΔΔ“Η»“ΕΝ“µπ“½Ί“ΗΓ“·Ή“ΐΜ | “Ρ¦A01“ίΎ | | 0
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | 4
“ÄÄ“Ç»“ÅÍ“±×“·¡“ÇÈ“½º | “ÝÂB10“ñé | | 0
“ÄÄ“Ç»“ÅÍ“ÇÁ“·Î“±×“·¡“¸Ó | “ìÑZ01“ù» | | 0
(3 rows)
select *,substring(“¿ë“¾î from 3 for 4) from “ͪ“ß©“Ѧ“¿ë“¾î;
“¿ë“¾î | “Ý“׾“ÄÚ“µå | “ºñ“°í1a“¶ó“±¸ | substring
--------------------------+--------------+----------------+-----------
“ΔΔ“Η»“ΕΝ“µπ“½Ί“ΗΓ“·Ή“ΐΜ | “Ρ¦A01“ίΎ | | Η»“ΕΝ“µπ
“ΔΔ“Η»“ΕΝ“±Χ“·΅“ΗΘ“½Ί | “έΒB10“ρι | | Η»“ΕΝ“±Χ
“ΔΔ“Η»“ΕΝ“ΗΑ“·Ξ“±Χ“·΅“ΈΣ | “μΡZ01“ω» | | Η»“ΕΝ“ΗΑ
--------------------------+--------------+----------------+--------------
⌠дд⌠г╩⌠ем⌠╣П⌠╫╨⌠гц⌠╥╧⌠юл | ⌠я╕A01⌠ъ╬ | | ⌠ем⌠╣П⌠╫╨⌠гц
⌠дд⌠г╩⌠ем⌠╠в⌠╥║⌠гх⌠╫╨ | ⌠щбB10⌠ЯИ | | ⌠ем⌠╠в⌠╥║⌠гх
⌠дд⌠г╩⌠ем⌠га⌠╥н⌠╠в⌠╥║⌠╦с | ⌠ЛяZ01⌠Ы╩ | | ⌠ем⌠га⌠╥н⌠╠в
(3 rows)
drop table test;
@ -292,10 +305,10 @@ select *,octet_length(t) from test;
t | octet_length
--------------------------------------+--------------
ENGLISH | 7
FRAN<EFBFBD>ΗAIS | 10
ESPA<EFBFBD>ΡOL | 9
<EFBFBD>ΝSLENSKA | 10
ENGLISH FRAN<EFBFBD>ΗAIS ESPA<50>ΡOL <20>ΝSLENSKA | 39
FRANгAIS | 9
ESPA│яOL | 8
│мSLENSKA | 9
ENGLISH FRANгAIS ESPA│яOL │мSLENSKA | 36
(5 rows)
select *,position('L' in t) from test;

View File

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