drop table ¼t°Ó¸ê®Æ;
+ERROR: table "¼t°Ó¸ê®Æ" does not exist
create table ¼t°Ó¸ê®Æ (¦æ·~§O text, ¤½¥q©ïÀY varchar, ¦a§} varchar(16));
create index ¼t°Ó¸ê®Æindex1 on ¼t°Ó¸ê®Æ using btree (¦æ·~§O);
create index ¼t°Ó¸ê®Æindex2 on ¼t°Ó¸ê®Æ using hash (¤½¥q©ïÀY);
(3 rows)
select *, position('¦³' in ¤½¥q©ïÀY) from ¼t°Ó¸ê®Æ;
- ¦æ·~§O | ¤½¥q©ïÀY | ¦a§} | strpos
---------+------------------+---------+--------
- ¹q¸£·~ | ¹F¹F¬ì§Þ | ¥_A01¤¯ | 0
- »s³y·~ | °]·½¦³¤½¥q | ¤¤B10¤¤ | 3
- À\¶¼·~ | ¬ü¨ýªÑ¥÷¦³¤½¥q | °ªZ01¤E | 5
+ ¦æ·~§O | ¤½¥q©ïÀY | ¦a§} | position
+--------+------------------+---------+----------
+ ¹q¸£·~ | ¹F¹F¬ì§Þ | ¥_A01¤¯ | 0
+ »s³y·~ | °]·½¦³¤½¥q | ¤¤B10¤¤ | 3
+ À\¶¼·~ | ¬ü¨ýªÑ¥÷¦³¤½¥q | °ªZ01¤E | 5
(3 rows)
select *, substring(¤½¥q©ïÀY from 3 for 6 ) from ¼t°Ó¸ê®Æ;
- ¦æ·~§O | ¤½¥q©ïÀY | ¦a§} | substr
+ ¦æ·~§O | ¤½¥q©ïÀY | ¦a§} | substring
--------+------------------+---------+--------------
¹q¸£·~ | ¹F¹F¬ì§Þ | ¥_A01¤¯ | ¬ì§Þ
»s³y·~ | °]·½¦³¤½¥q | ¤¤B10¤¤ | ¦³¤½¥q
drop table ¼ÆËã»úÊõÓï;
-ERROR: Relation '¼ÆËã»úÊõÓï' does not exist
+ERROR: parser: parse error at or near "("
create table ¼ÆËã»úÊõÓï(ÊõÓï text, ·ÖÀàºÅ varchar, ±¸×¢1A char(16));
+ERROR: parser: parse error at or near "("
create index ¼ÆËã»úÊõÓïindex1 on ¼ÆËã»úÊõÓï using btree(ÊõÓï);
+ERROR: parser: parse error at or near "("
create index ¼ÆËã»úÊõÓïindex2 on ¼ÆËã»úÊõÓï using btree(·ÖÀàºÅ);
+ERROR: parser: parse error at or near "("
insert into ¼ÆËã»úÊõÓï values('µçÄÔÏÔʾÆÁ','»úA01ÉÏ');
+ERROR: parser: parse error at or near "("
insert into ¼ÆËã»úÊõÓï values('µçÄÔͼÐÎ','·ÖB01ÖÐ');
+ERROR: parser: parse error at or near "("
insert into ¼ÆËã»úÊõÓï values('µçÄÔ³ÌÐòÔ±','ÈËZ01ÏÂ');
+ERROR: parser: parse error at or near "("
vacuum ¼ÆËã»úÊõÓï;
+ERROR: parser: parse error at or near "("
select * from ¼ÆËã»úÊõÓï;
- ÊõÓï | ·ÖÀàºÅ | ±¸×¢1a
-------------+---------+--------
- µçÄÔÏÔʾÆÁ | »úA01ÉÏ |
- µçÄÔͼÐÎ | ·ÖB01ÖÐ |
- µçÄÔ³ÌÐòÔ± | ÈËZ01Ï |
-(3 rows)
-
+ERROR: parser: parse error at or near "92"
select * from ¼ÆËã»úÊõÓï where ·ÖÀàºÅ = 'ÈËZ01ÏÂ';
- ÊõÓï | ·ÖÀàºÅ | ±¸×¢1a
-------------+---------+--------
- µçÄÔ³ÌÐòÔ± | ÈËZ01Ï |
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ¼ÆËã»úÊõÓï where ·ÖÀàºÅ ~* 'ÈËz01ÏÂ';
- ÊõÓï | ·ÖÀàºÅ | ±¸×¢1a
-------------+---------+--------
- µçÄÔ³ÌÐòÔ± | ÈËZ01Ï |
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ¼ÆËã»úÊõÓï where ·ÖÀàºÅ like '_Z01_';
- ÊõÓï | ·ÖÀàºÅ | ±¸×¢1a
-------------+---------+--------
- µçÄÔ³ÌÐòÔ± | ÈËZ01Ï |
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ¼ÆËã»úÊõÓï where ·ÖÀàºÅ like '_Z%';
- ÊõÓï | ·ÖÀàºÅ | ±¸×¢1a
-------------+---------+--------
- µçÄÔ³ÌÐòÔ± | ÈËZ01Ï |
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ¼ÆËã»úÊõÓï where ÊõÓï ~ 'µçÄÔ[ÏÔͼ]';
- ÊõÓï | ·ÖÀàºÅ | ±¸×¢1a
-------------+---------+--------
- µçÄÔÏÔʾÆÁ | »úA01ÉÏ |
- µçÄÔͼÐÎ | ·ÖB01ÖÐ |
-(2 rows)
-
+ERROR: parser: parse error at or near "92"
select * from ¼ÆËã»úÊõÓï where ÊõÓï ~* 'µçÄÔ[ÏÔͼ]';
- ÊõÓï | ·ÖÀàºÅ | ±¸×¢1a
-------------+---------+--------
- µçÄÔÏÔʾÆÁ | »úA01ÉÏ |
- µçÄÔͼÐÎ | ·ÖB01ÖÐ |
-(2 rows)
-
+ERROR: parser: parse error at or near "92"
select *,character_length(ÊõÓï) from ¼ÆËã»úÊõÓï;
- ÊõÓï | ·ÖÀàºÅ | ±¸×¢1a | char_length
-------------+---------+--------+-------------
- µçÄÔÏÔʾÆÁ | »úA01ÉÏ | | 5
- µçÄÔͼÐÎ | ·ÖB01ÖÐ | | 4
- µçÄÔ³ÌÐòÔ± | ÈËZ01Ï | | 5
-(3 rows)
-
+ERROR: parser: parse error at or near "caf5"
select *,octet_length(ÊõÓï) from ¼ÆËã»úÊõÓï;
- ÊõÓï | ·ÖÀàºÅ | ±¸×¢1a | octet_length
-------------+---------+--------+--------------
- µçÄÔÏÔʾÆÁ | »úA01ÉÏ | | 10
- µçÄÔͼÐÎ | ·ÖB01ÖÐ | | 8
- µçÄÔ³ÌÐòÔ± | ÈËZ01Ï | | 10
-(3 rows)
-
+ERROR: parser: parse error at or near "caf5"
select *,position('ÏÔ' in ÊõÓï) from ¼ÆËã»úÊõÓï;
- ÊõÓï | ·ÖÀàºÅ | ±¸×¢1a | strpos
-------------+---------+--------+--------
- µçÄÔÏÔʾÆÁ | »úA01ÉÏ | | 3
- µçÄÔͼÐÎ | ·ÖB01ÖÐ | | 0
- µçÄÔ³ÌÐòÔ± | ÈËZ01Ï | | 0
-(3 rows)
-
+ERROR: parser: parse error at or near "caf5"
select *,substring(ÊõÓï from 3 for 4) from ¼ÆËã»úÊõÓï;
- ÊõÓï | ·ÖÀàºÅ | ±¸×¢1a | substr
-------------+---------+--------+--------
- µçÄÔÏÔʾÆÁ | »úA01ÉÏ | | ÏÔʾÆÁ
- µçÄÔͼÐÎ | ·ÖB01ÖÐ | | ͼÐÎ
- µçÄÔ³ÌÐòÔ± | ÈËZ01Ï | | ³ÌÐòÔ±
-(3 rows)
-
+ERROR: parser: parse error at or near "caf5"
drop table ·×»»µ¡ÍѸì;
-ERROR: Relation '·×»»µ¡ÍѸì' does not exist
+ERROR: table "·×»»µ¡ÍѸì" does not exist
create table ·×»»µ¡ÍѸì (ÍѸì text, ʬÎॳ¡¼¥É varchar, È÷¹Í1A¤À¤è char(16));
create index ·×»»µ¡ÍѸìindex1 on ·×»»µ¡ÍѸì using btree (ÍѸì);
create index ·×»»µ¡ÍѸìindex2 on ·×»»µ¡ÍѸì using hash (ʬÎॳ¡¼¥É);
(3 rows)
select *,position('¥Ç' in ÍѸì) from ·×»»µ¡ÍѸì;
- ÍѸì | ʬÎॳ¡¼¥É | È÷¹Í1a¤À¤è | strpos
-----------------------------+------------+------------+--------
- ¥³¥ó¥Ô¥å¡¼¥¿¥Ç¥£¥¹¥×¥ì¥¤ | µ¡A01¾å | | 7
- ¥³¥ó¥Ô¥å¡¼¥¿¥°¥é¥Õ¥£¥Ã¥¯¥¹ | ʬB10Ãæ | | 0
- ¥³¥ó¥Ô¥å¡¼¥¿¥×¥í¥°¥é¥Þ¡¼ | ¿ÍZ01²¼ | | 0
+ ÍѸì | ʬÎॳ¡¼¥É | È÷¹Í1a¤À¤è | position
+----------------------------+------------+------------+----------
+ ¥³¥ó¥Ô¥å¡¼¥¿¥Ç¥£¥¹¥×¥ì¥¤ | µ¡A01¾å | | 7
+ ¥³¥ó¥Ô¥å¡¼¥¿¥°¥é¥Õ¥£¥Ã¥¯¥¹ | ʬB10Ãæ | | 0
+ ¥³¥ó¥Ô¥å¡¼¥¿¥×¥í¥°¥é¥Þ¡¼ | ¿ÍZ01²¼ | | 0
(3 rows)
select *,substring(ÍѸì from 10 for 4) from ·×»»µ¡ÍѸì;
- ÍѸì | ʬÎॳ¡¼¥É | È÷¹Í1a¤À¤è | substr
-----------------------------+------------+------------+----------
+ ÍѸì | ʬÎॳ¡¼¥É | È÷¹Í1a¤À¤è | substring
+----------------------------+------------+------------+-----------
¥³¥ó¥Ô¥å¡¼¥¿¥Ç¥£¥¹¥×¥ì¥¤ | µ¡A01¾å | | ¥×¥ì¥¤
¥³¥ó¥Ô¥å¡¼¥¿¥°¥é¥Õ¥£¥Ã¥¯¥¹ | ʬB10Ãæ | | ¥£¥Ã¥¯¥¹
¥³¥ó¥Ô¥å¡¼¥¿¥×¥í¥°¥é¥Þ¡¼ | ¿ÍZ01²¼ | | ¥é¥Þ¡¼
drop table ͪߩѦ¿ë¾î;
-ERROR: Relation 'ͪߩѦ¿ë¾î' does not exist
+ERROR: parser: parse error at or near "("
create table ͪߩѦ¿ë¾î (¿ë¾î text, ÝÂ×¾ÄÚµå varchar, ºñ°í1A¶ó±¸ char(16));
+ERROR: parser: parse error at or near "("
create index ͪߩѦ¿ë¾îindex1 on ͪߩѦ¿ë¾î using btree (¿ë¾î);
+ERROR: parser: parse error at or near "("
create index ͪߩѦ¿ë¾îindex2 on ͪߩѦ¿ë¾î using hash (ÝÂ×¾ÄÚµå);
+ERROR: parser: parse error at or near "("
insert into ͪߩѦ¿ë¾î values('ÄÄÇ»Å͵ð½ºÇ÷¹ÀÌ', 'ѦA01ß¾');
+ERROR: parser: parse error at or near "("
insert into ͪߩѦ¿ë¾î values('ÄÄÇ»Åͱ׷¡ÇȽº', 'ÝÂB10ñé');
+ERROR: parser: parse error at or near "("
insert into ͪߩѦ¿ë¾î values('ÄÄÇ»ÅÍÇÁ·Î±×·¡¸Ó', 'ìÑZ01ù»');
+ERROR: parser: parse error at or near "("
vacuum ͪߩѦ¿ë¾î;
+ERROR: parser: parse error at or near "("
select * from ͪߩѦ¿ë¾î;
- ¿ë¾î | ÝÂ×¾ÄÚµå | ºñ°í1a¶ó±¸
-------------------+----------+------------
- ÄÄÇ»Å͵ð½ºÇ÷¹ÀÌ | ѦA01ß¾ |
- ÄÄÇ»Åͱ׷¡ÇȽº | ÝÂB10ñé |
- ÄÄÇ»ÅÍÇÁ·Î±×·¡¸Ó | ìÑZ01ù» |
-(3 rows)
-
+ERROR: parser: parse error at or near "92"
select * from ͪߩѦ¿ë¾î where ÝÂ×¾ÄÚµå = 'ìÑZ01ù»';
- ¿ë¾î | ÝÂ×¾ÄÚµå | ºñ°í1a¶ó±¸
-------------------+----------+------------
- ÄÄÇ»ÅÍÇÁ·Î±×·¡¸Ó | ìÑZ01ù» |
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ͪߩѦ¿ë¾î where ÝÂ×¾ÄÚµå ~* 'ìÑz01ù»';
- ¿ë¾î | ÝÂ×¾ÄÚµå | ºñ°í1a¶ó±¸
-------------------+----------+------------
- ÄÄÇ»ÅÍÇÁ·Î±×·¡¸Ó | ìÑZ01ù» |
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ͪߩѦ¿ë¾î where ÝÂ×¾ÄÚµå like '_Z01_';
- ¿ë¾î | ÝÂ×¾ÄÚµå | ºñ°í1a¶ó±¸
-------------------+----------+------------
- ÄÄÇ»ÅÍÇÁ·Î±×·¡¸Ó | ìÑZ01ù» |
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ͪߩѦ¿ë¾î where ÝÂ×¾ÄÚµå like '_Z%';
- ¿ë¾î | ÝÂ×¾ÄÚµå | ºñ°í1a¶ó±¸
-------------------+----------+------------
- ÄÄÇ»ÅÍÇÁ·Î±×·¡¸Ó | ìÑZ01ù» |
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ͪߩѦ¿ë¾î where ¿ë¾î ~ 'ÄÄÇ»ÅÍ[µð±×]';
- ¿ë¾î | ÝÂ×¾ÄÚµå | ºñ°í1a¶ó±¸
-------------------+----------+------------
- ÄÄÇ»Å͵ð½ºÇ÷¹ÀÌ | ѦA01ß¾ |
- ÄÄÇ»Åͱ׷¡ÇȽº | ÝÂB10ñé |
-(2 rows)
-
+ERROR: parser: parse error at or near "92"
select * from ͪߩѦ¿ë¾î where ¿ë¾î ~* 'ÄÄÇ»ÅÍ[µð±×]';
- ¿ë¾î | ÝÂ×¾ÄÚµå | ºñ°í1a¶ó±¸
-------------------+----------+------------
- ÄÄÇ»Å͵ð½ºÇ÷¹ÀÌ | ѦA01ß¾ |
- ÄÄÇ»Åͱ׷¡ÇȽº | ÝÂB10ñé |
-(2 rows)
-
+ERROR: parser: parse error at or near "92"
select *,character_length(¿ë¾î) from ͪߩѦ¿ë¾î;
- ¿ë¾î | ÝÂ×¾ÄÚµå | ºñ°í1a¶ó±¸ | char_length
-------------------+----------+------------+-------------
- ÄÄÇ»Å͵ð½ºÇ÷¹ÀÌ | ѦA01ß¾ | | 8
- ÄÄÇ»Åͱ׷¡ÇȽº | ÝÂB10ñé | | 7
- ÄÄÇ»ÅÍÇÁ·Î±×·¡¸Ó | ìÑZ01ù» | | 8
-(3 rows)
-
+ERROR: parser: parse error at or near "bfeb"
select *,octet_length(¿ë¾î) from ͪߩѦ¿ë¾î;
- ¿ë¾î | ÝÂ×¾ÄÚµå | ºñ°í1a¶ó±¸ | octet_length
-------------------+----------+------------+--------------
- ÄÄÇ»Å͵ð½ºÇ÷¹ÀÌ | ѦA01ß¾ | | 16
- ÄÄÇ»Åͱ׷¡ÇȽº | ÝÂB10ñé | | 14
- ÄÄÇ»ÅÍÇÁ·Î±×·¡¸Ó | ìÑZ01ù» | | 16
-(3 rows)
-
+ERROR: parser: parse error at or near "bfeb"
select *,position('µð' in ¿ë¾î) from ͪߩѦ¿ë¾î;
- ¿ë¾î | ÝÂ×¾ÄÚµå | ºñ°í1a¶ó±¸ | strpos
-------------------+----------+------------+--------
- ÄÄÇ»Å͵ð½ºÇ÷¹ÀÌ | ѦA01ß¾ | | 4
- ÄÄÇ»Åͱ׷¡ÇȽº | ÝÂB10ñé | | 0
- ÄÄÇ»ÅÍÇÁ·Î±×·¡¸Ó | ìÑZ01ù» | | 0
-(3 rows)
-
+ERROR: parser: parse error at or near "bfeb"
select *,substring(¿ë¾î from 3 for 4) from ͪߩѦ¿ë¾î;
- ¿ë¾î | ÝÂ×¾ÄÚµå | ºñ°í1a¶ó±¸ | substr
-------------------+----------+------------+----------
- ÄÄÇ»Å͵ð½ºÇ÷¹ÀÌ | ѦA01ß¾ | | Å͵ð½ºÇÃ
- ÄÄÇ»Åͱ׷¡ÇȽº | ÝÂB10ñé | | Åͱ׷¡ÇÈ
- ÄÄÇ»ÅÍÇÁ·Î±×·¡¸Ó | ìÑZ01ù» | | ÅÍÇÁ·Î±×
-(3 rows)
-
+ERROR: parser: parse error at or near "bfeb"
drop table ìÞÙ¸æñÕè;
-ERROR: Relation 'ìÞÙ¸æñÕè' does not exist
+ERROR: parser: parse error at or near "("
create table ìÞÙ¸æñÕè (ÈçäÆɱ text, ÄüƳÍñó¤ varchar, ÇâÉß varchar(16));
+ERROR: parser: parse error at or near "("
create index ìÞÙ¸æñÕèindex1 on ìÞÙ¸æñÕè using btree (ÈçäÆɱ);
+ERROR: parser: parse error at or near "("
create index ìÞÙ¸æñÕèindex2 on ìÞÙ¸æñÕè using hash (ÄüƳÍñó¤);
+ERROR: parser: parse error at or near "("
insert into ìÞÙ¸æñÕè values ('çÙæªäÆ', 'ç®ç®ÒïÊÀ', 'Æ¡A01Äî');
+ERROR: parser: parse error at or near "("
insert into ìÞÙ¸æñÕè values ('êûÝßäÆ', 'ØÂäãÈ´ÓîÄüƳ', 'ÄãB10Äã');
+ERROR: parser: parse error at or near "("
insert into ìÞÙ¸æñÕè values ('ó§ã£äÆ', 'Ó¡ÌÀϴǹȴÓîÄüƳ', 'ØíZ01Ħ');
+ERROR: parser: parse error at or near "("
vacuum ìÞÙ¸æñÕè;
+ERROR: parser: parse error at or near "("
select * from ìÞÙ¸æñÕè;
- ÈçäÆɱ | ÄüƳÍñó¤ | ÇâÉß
---------+------------------+---------
- çÙæªäÆ | ç®ç®ÒïÊÀ | Æ¡A01Äî
- êûÝßäÆ | ØÂäãÈ´ÓîÄüƳ | ÄãB10Äã
- ó§ã£äÆ | Ó¡ÌÀϴǹȴÓîÄüƳ | ØíZ01Ħ
-(3 rows)
-
+ERROR: parser: parse error at or near "92"
select * from ìÞÙ¸æñÕè where ÇâÉß = 'ØíZ01Ħ';
- ÈçäÆɱ | ÄüƳÍñó¤ | ÇâÉß
---------+------------------+---------
- ó§ã£äÆ | Ó¡ÌÀϴǹȴÓîÄüƳ | ØíZ01Ħ
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ìÞÙ¸æñÕè where ÇâÉß ~* 'Øíz01Ħ';
- ÈçäÆɱ | ÄüƳÍñó¤ | ÇâÉß
---------+------------------+---------
- ó§ã£äÆ | Ó¡ÌÀϴǹȴÓîÄüƳ | ØíZ01Ħ
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ìÞÙ¸æñÕè where ÇâÉß like '_Z01_';
- ÈçäÆɱ | ÄüƳÍñó¤ | ÇâÉß
---------+------------------+---------
- ó§ã£äÆ | Ó¡ÌÀϴǹȴÓîÄüƳ | ØíZ01Ħ
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ìÞÙ¸æñÕè where ÇâÉß like '_Z%';
- ÈçäÆɱ | ÄüƳÍñó¤ | ÇâÉß
---------+------------------+---------
- ó§ã£äÆ | Ó¡ÌÀϴǹȴÓîÄüƳ | ØíZ01Ħ
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ìÞÙ¸æñÕè where ÄüƳÍñó¤ ~ 'ç®ç®Òï[ÙìØ´ÊÀ]';
- ÈçäÆɱ | ÄüƳÍñó¤ | ÇâÉß
---------+----------+---------
- çÙæªäÆ | ç®ç®ÒïÊÀ | Æ¡A01Äî
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select * from ìÞÙ¸æñÕè where ÄüƳÍñó¤ ~* 'ç®ç®Òï[ÙìØ´ÊÀ]';
- ÈçäÆɱ | ÄüƳÍñó¤ | ÇâÉß
---------+----------+---------
- çÙæªäÆ | ç®ç®ÒïÊÀ | Æ¡A01Äî
-(1 row)
-
+ERROR: parser: parse error at or near "92"
select *, character_length(ÈçäÆɱ) from ìÞÙ¸æñÕè;
- ÈçäÆɱ | ÄüƳÍñó¤ | ÇâÉß | char_length
---------+------------------+---------+-------------
- çÙæªäÆ | ç®ç®ÒïÊÀ | Æ¡A01Äî | 3
- êûÝßäÆ | ØÂäãÈ´ÓîÄüƳ | ÄãB10Äã | 3
- ó§ã£äÆ | Ó¡ÌÀϴǹȴÓîÄüƳ | ØíZ01Ħ | 3
-(3 rows)
-
+ERROR: parser: parse error at or near "c8e7"
select *, octet_length(ÈçäÆɱ) from ìÞÙ¸æñÕè;
- ÈçäÆɱ | ÄüƳÍñó¤ | ÇâÉß | octet_length
---------+------------------+---------+--------------
- çÙæªäÆ | ç®ç®ÒïÊÀ | Æ¡A01Äî | 6
- êûÝßäÆ | ØÂäãÈ´ÓîÄüƳ | ÄãB10Äã | 6
- ó§ã£äÆ | Ó¡ÌÀϴǹȴÓîÄüƳ | ØíZ01Ħ | 6
-(3 rows)
-
+ERROR: parser: parse error at or near "c8e7"
select *, position('È´Óî' in ÄüƳÍñó¤) from ìÞÙ¸æñÕè;
- ÈçäÆɱ | ÄüƳÍñó¤ | ÇâÉß | strpos
---------+------------------+---------+--------
- çÙæªäÆ | ç®ç®ÒïÊÀ | Æ¡A01Äî | 0
- êûÝßäÆ | ØÂäãÈ´ÓîÄüƳ | ÄãB10Äã | 3
- ó§ã£äÆ | Ó¡ÌÀϴǹȴÓîÄüƳ | ØíZ01Ħ | 5
-(3 rows)
-
+ERROR: parser: parse error at or near "c4fc"
select *, substring(ÄüƳÍñó¤ from 3 for 6 ) from ìÞÙ¸æñÕè;
- ÈçäÆɱ | ÄüƳÍñó¤ | ÇâÉß | substr
---------+------------------+---------+--------------
- çÙæªäÆ | ç®ç®ÒïÊÀ | Æ¡A01Äî | ÒïÊÀ
- êûÝßäÆ | ØÂäãÈ´ÓîÄüƳ | ÄãB10Äã | È´ÓîÄüƳ
- ó§ã£äÆ | Ó¡ÌÀϴǹȴÓîÄüƳ | ØíZ01Ħ | ϴǹȴÓîÄüƳ
-(3 rows)
-
+ERROR: parser: parse error at or near "c4fc"
drop table \92·×\92»»\92µ¡\92ÍÑ\92¸ì;
-ERROR: Relation '\92·×\92»»\92µ¡\92ÍÑ\92¸ì' does not exist
+ERROR: table "\92·×\92»»\92µ¡\92ÍÑ\92¸ì" does not exist
create table \92·×\92»»\92µ¡\92ÍÑ\92¸ì (\92ÍÑ\92¸ì text, \92ʬ\92Îà\92¥³\92¡¼\92¥É varchar, \92È÷\92¹Í1A\92¤À\92¤è char(16));
create index \92·×\92»»\92µ¡\92ÍÑ\92¸ìindex1 on \92·×\92»»\92µ¡\92ÍÑ\92¸ì using btree (\92ÍÑ\92¸ì);
create index \92·×\92»»\92µ¡\92ÍÑ\92¸ìindex2 on \92·×\92»»\92µ¡\92ÍÑ\92¸ì using hash (\92ʬ\92Îà\92¥³\92¡¼\92¥É);
(1 row)
select * from \92·×\92»»\92µ¡\92ÍÑ\92¸ì where \92ʬ\92Îà\92¥³\92¡¼\92¥É ~* '\92¿Íz01\92²¼';
- \92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è
---------------------------------------+-----------------+----------------
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ |
-(1 row)
+ \92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è
+--------+-----------------+----------------
+(0 rows)
select * from \92·×\92»»\92µ¡\92ÍÑ\92¸ì where \92ʬ\92Îà\92¥³\92¡¼\92¥É like '_Z01_';
- \92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è
---------------------------------------+-----------------+----------------
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ |
-(1 row)
+ \92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è
+--------+-----------------+----------------
+(0 rows)
select * from \92·×\92»»\92µ¡\92ÍÑ\92¸ì where \92ʬ\92Îà\92¥³\92¡¼\92¥É like '_Z%';
- \92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è
---------------------------------------+-----------------+----------------
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ |
-(1 row)
+ \92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è
+--------+-----------------+----------------
+(0 rows)
select * from \92·×\92»»\92µ¡\92ÍÑ\92¸ì where \92ÍÑ\92¸ì ~ '\92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿[\92¥Ç\92¥°]';
\92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è
-----------------------------------------+-----------------+----------------
\92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥Ç\92¥£\92¥¹\92¥×\92¥ì\92¥¤ | \92µ¡A01\92¾å |
\92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥°\92¥é\92¥Õ\92¥£\92¥Ã\92¥¯\92¥¹ | \92ʬB10\92Ãæ |
-(2 rows)
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ |
+(3 rows)
select * from \92·×\92»»\92µ¡\92ÍÑ\92¸ì where \92ÍÑ\92¸ì ~* '\92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿[\92¥Ç\92¥°]';
\92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è
-----------------------------------------+-----------------+----------------
\92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥Ç\92¥£\92¥¹\92¥×\92¥ì\92¥¤ | \92µ¡A01\92¾å |
\92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥°\92¥é\92¥Õ\92¥£\92¥Ã\92¥¯\92¥¹ | \92ʬB10\92Ãæ |
-(2 rows)
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ |
+(3 rows)
select *,character_length(\92ÍÑ\92¸ì) from \92·×\92»»\92µ¡\92ÍÑ\92¸ì;
\92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è | char_length
-----------------------------------------+-----------------+----------------+-------------
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥Ç\92¥£\92¥¹\92¥×\92¥ì\92¥¤ | \92µ¡A01\92¾å | | 12
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥°\92¥é\92¥Õ\92¥£\92¥Ã\92¥¯\92¥¹ | \92ʬB10\92Ãæ | | 13
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ | | 12
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥Ç\92¥£\92¥¹\92¥×\92¥ì\92¥¤ | \92µ¡A01\92¾å | | 18
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥°\92¥é\92¥Õ\92¥£\92¥Ã\92¥¯\92¥¹ | \92ʬB10\92Ãæ | | 20
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ | | 18
(3 rows)
select *,octet_length(\92ÍÑ\92¸ì) from \92·×\92»»\92µ¡\92ÍÑ\92¸ì;
\92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è | octet_length
-----------------------------------------+-----------------+----------------+--------------
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥Ç\92¥£\92¥¹\92¥×\92¥ì\92¥¤ | \92µ¡A01\92¾å | | 36
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥°\92¥é\92¥Õ\92¥£\92¥Ã\92¥¯\92¥¹ | \92ʬB10\92Ãæ | | 39
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ | | 36
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥Ç\92¥£\92¥¹\92¥×\92¥ì\92¥¤ | \92µ¡A01\92¾å | | 54
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥°\92¥é\92¥Õ\92¥£\92¥Ã\92¥¯\92¥¹ | \92ʬB10\92Ãæ | | 59
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ | | 54
(3 rows)
select *,position('\92¥Ç' in \92ÍÑ\92¸ì) from \92·×\92»»\92µ¡\92ÍÑ\92¸ì;
- \92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è | strpos
------------------------------------------+-----------------+----------------+--------
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥Ç\92¥£\92¥¹\92¥×\92¥ì\92¥¤ | \92µ¡A01\92¾å | | 7
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥°\92¥é\92¥Õ\92¥£\92¥Ã\92¥¯\92¥¹ | \92ʬB10\92Ãæ | | 0
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ | | 0
+ \92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è | position
+-----------------------------------------+-----------------+----------------+----------
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥Ç\92¥£\92¥¹\92¥×\92¥ì\92¥¤ | \92µ¡A01\92¾å | | 0
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥°\92¥é\92¥Õ\92¥£\92¥Ã\92¥¯\92¥¹ | \92ʬB10\92Ãæ | | 0
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ | | 0
(3 rows)
select *,substring(\92ÍÑ\92¸ì from 10 for 4) from \92·×\92»»\92µ¡\92ÍÑ\92¸ì;
- \92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è | substr
------------------------------------------+-----------------+----------------+--------------
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥Ç\92¥£\92¥¹\92¥×\92¥ì\92¥¤ | \92µ¡A01\92¾å | | \92¥×\92¥ì\92¥¤
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥°\92¥é\92¥Õ\92¥£\92¥Ã\92¥¯\92¥¹ | \92ʬB10\92Ãæ | | \92¥£\92¥Ã\92¥¯\92¥¹
- \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ | | \92¥é\92¥Þ\92¡¼
+ \92ÍÑ\92¸ì | \92ʬ\92Îà\92¥³\92¡¼\92¥É | \92È÷\92¹Í1a\92¤À\92¤è | substring
+-----------------------------------------+-----------------+----------------+-----------
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥Ç\92¥£\92¥¹\92¥×\92¥ì\92¥¤ | \92µ¡A01\92¾å | | \92¥Ç\92¥£\92¥
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥°\92¥é\92¥Õ\92¥£\92¥Ã\92¥¯\92¥¹ | \92ʬB10\92Ãæ | | \92¥°\92¥é\92¥
+ \92¥³\92¥ó\92¥Ô\92¥å\92¡¼\92¥¿\92¥×\92¥í\92¥°\92¥é\92¥Þ\92¡¼ | \92¿ÍZ01\92²¼ | | \92¥×\92¥í\92¥
(3 rows)
drop table \91¼Æ\91Ëã\91»ú\91Êõ\91Óï;
-ERROR: Relation '\91¼Æ\91Ëã\91»ú\91Êõ\91Óï' does not exist
+ERROR: table "\91¼Æ\91Ëã\91»ú\91Êõ\91Óï" does not exist
create table \91¼Æ\91Ëã\91»ú\91Êõ\91Óï(\91Êõ\91Óï text, \91·Ö\91Àà\91ºÅ varchar, \91±¸\91×¢1A char(16));
create index \91¼Æ\91Ëã\91»ú\91Êõ\91Óïindex1 on \91¼Æ\91Ëã\91»ú\91Êõ\91Óï using btree(\91Êõ\91Óï);
create index \91¼Æ\91Ëã\91»ú\91Êõ\91Óïindex2 on \91¼Æ\91Ëã\91»ú\91Êõ\91Óï using btree(\91·Ö\91Àà\91ºÅ);
(1 row)
select * from \91¼Æ\91Ëã\91»ú\91Êõ\91Óï where \91·Ö\91Àà\91ºÅ ~* '\91ÈËz01\91ÏÂ';
- \91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a
------------------+-----------+----------
- \91µç\91ÄÔ\91³Ì\91Ðò\91Ô± | \91ÈËZ01\91Ï |
-(1 row)
+ \91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a
+--------+-----------+----------
+(0 rows)
select * from \91¼Æ\91Ëã\91»ú\91Êõ\91Óï where \91·Ö\91Àà\91ºÅ like '_Z01_';
- \91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a
------------------+-----------+----------
- \91µç\91ÄÔ\91³Ì\91Ðò\91Ô± | \91ÈËZ01\91Ï |
-(1 row)
+ \91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a
+--------+-----------+----------
+(0 rows)
select * from \91¼Æ\91Ëã\91»ú\91Êõ\91Óï where \91·Ö\91Àà\91ºÅ like '_Z%';
- \91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a
------------------+-----------+----------
- \91µç\91ÄÔ\91³Ì\91Ðò\91Ô± | \91ÈËZ01\91Ï |
-(1 row)
+ \91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a
+--------+-----------+----------
+(0 rows)
select * from \91¼Æ\91Ëã\91»ú\91Êõ\91Óï where \91Êõ\91Óï ~ '\91µç\91ÄÔ[\91ÏÔ\91ͼ]';
\91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a
-----------------+-----------+----------
\91µç\91ÄÔ\91ÏÔ\91ʾ\91ÆÁ | \91»úA01\91ÉÏ |
- \91µç\91ÄÔ\91ͼ\91ÐÎ | \91·ÖB01\91ÖÐ |
-(2 rows)
+(1 row)
select * from \91¼Æ\91Ëã\91»ú\91Êõ\91Óï where \91Êõ\91Óï ~* '\91µç\91ÄÔ[\91ÏÔ\91ͼ]';
\91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a
-----------------+-----------+----------
\91µç\91ÄÔ\91ÏÔ\91ʾ\91ÆÁ | \91»úA01\91ÉÏ |
- \91µç\91ÄÔ\91ͼ\91ÐÎ | \91·ÖB01\91ÖÐ |
-(2 rows)
+(1 row)
select *,character_length(\91Êõ\91Óï) from \91¼Æ\91Ëã\91»ú\91Êõ\91Óï;
\91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a | char_length
-----------------+-----------+----------+-------------
- \91µç\91ÄÔ\91ÏÔ\91ʾ\91ÆÁ | \91»úA01\91ÉÏ | | 5
- \91µç\91ÄÔ\91ͼ\91ÐÎ | \91·ÖB01\91ÖÐ | | 4
- \91µç\91ÄÔ\91³Ì\91Ðò\91Ô± | \91ÈËZ01\91Ï | | 5
+ \91µç\91ÄÔ\91ÏÔ\91ʾ\91ÆÁ | \91»úA01\91ÉÏ | | 8
+ \91µç\91ÄÔ\91ͼ\91ÐÎ | \91·ÖB01\91ÖÐ | | 6
+ \91µç\91ÄÔ\91³Ì\91Ðò\91Ô± | \91ÈËZ01\91Ï | | 8
(3 rows)
select *,octet_length(\91Êõ\91Óï) from \91¼Æ\91Ëã\91»ú\91Êõ\91Óï;
\91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a | octet_length
-----------------+-----------+----------+--------------
- \91µç\91ÄÔ\91ÏÔ\91ʾ\91ÆÁ | \91»úA01\91ÉÏ | | 15
- \91µç\91ÄÔ\91ͼ\91ÐÎ | \91·ÖB01\91ÖÐ | | 12
- \91µç\91ÄÔ\91³Ì\91Ðò\91Ô± | \91ÈËZ01\91Ï | | 15
+ \91µç\91ÄÔ\91ÏÔ\91ʾ\91ÆÁ | \91»úA01\91ÉÏ | | 23
+ \91µç\91ÄÔ\91ͼ\91ÐÎ | \91·ÖB01\91ÖÐ | | 18
+ \91µç\91ÄÔ\91³Ì\91Ðò\91Ô± | \91ÈËZ01\91Ï | | 23
(3 rows)
select *,position('\91ÏÔ' in \91Êõ\91Óï) from \91¼Æ\91Ëã\91»ú\91Êõ\91Óï;
- \91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a | strpos
------------------+-----------+----------+--------
- \91µç\91ÄÔ\91ÏÔ\91ʾ\91ÆÁ | \91»úA01\91ÉÏ | | 3
- \91µç\91ÄÔ\91ͼ\91ÐÎ | \91·ÖB01\91ÖÐ | | 0
- \91µç\91ÄÔ\91³Ì\91Ðò\91Ô± | \91ÈËZ01\91Ï | | 0
+ \91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a | position
+-----------------+-----------+----------+----------
+ \91µç\91ÄÔ\91ÏÔ\91ʾ\91ÆÁ | \91»úA01\91ÉÏ | | 0
+ \91µç\91ÄÔ\91ͼ\91ÐÎ | \91·ÖB01\91ÖÐ | | 0
+ \91µç\91ÄÔ\91³Ì\91Ðò\91Ô± | \91ÈËZ01\91Ï | | 0
(3 rows)
select *,substring(\91Êõ\91Óï from 3 for 4) from \91¼Æ\91Ëã\91»ú\91Êõ\91Óï;
- \91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a | substr
+ \91Êõ\91Óï | \91·Ö\91Àà\91ºÅ | \91±¸\91×¢1a | substring
-----------------+-----------+----------+-----------
- \91µç\91ÄÔ\91ÏÔ\91ʾ\91ÆÁ | \91»úA01\91ÉÏ | | \91ÏÔ\91ʾ\91ÆÁ
- \91µç\91ÄÔ\91ͼ\91ÐÎ | \91·ÖB01\91ÖÐ | | \91ͼ\91ÐÎ
- \91µç\91ÄÔ\91³Ì\91Ðò\91Ô± | \91ÈËZ01\91Ï | | \91³Ì\91Ðò\91Ô±
+ \91µç\91ÄÔ\91ÏÔ\91ʾ\91ÆÁ | \91»úA01\91ÉÏ | | ÄÔ\91ÏÔ\91ʾ
+ \91µç\91ÄÔ\91ͼ\91ÐÎ | \91·ÖB01\91ÖÐ | | ÄÔ\91ͼ\91ÐÎ
+ \91µç\91ÄÔ\91³Ì\91Ðò\91Ô± | \91ÈËZ01\91Ï | | ÄÔ\91³Ì\91Ðò
(3 rows)
drop table \93ͪ\93ß©\93Ѧ\93¿ë\93¾î;
-ERROR: Relation '\93ͪ\93ß©\93Ѧ\93¿ë\93¾î' does not exist
+ERROR: table "\93ͪ\93ß©\93Ѧ\93¿ë\93¾î" does not exist
create table \93ͪ\93ß©\93Ѧ\93¿ë\93¾î (\93¿ë\93¾î text, \93ÝÂ\93×¾\93ÄÚ\93µå varchar, \93ºñ\93°í1A\93¶ó\93±¸ char(16));
create index \93ͪ\93ß©\93Ѧ\93¿ë\93¾îindex1 on \93ͪ\93ß©\93Ѧ\93¿ë\93¾î using btree (\93¿ë\93¾î);
create index \93ͪ\93ß©\93Ѧ\93¿ë\93¾îindex2 on \93ͪ\93ß©\93Ѧ\93¿ë\93¾î using hash (\93ÝÂ\93×¾\93ÄÚ\93µå);
(1 row)
select * from \93ͪ\93ß©\93Ѧ\93¿ë\93¾î where \93ÝÂ\93×¾\93ÄÚ\93µå ~* '\93ìÑz01\93ù»';
- \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸
---------------------------+--------------+----------------
- \93ÄÄ\93Ç»\93ÅÍ\93ÇÁ\93·Î\93±×\93·¡\93¸Ó | \93ìÑZ01\93ù» |
-(1 row)
+ \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸
+--------+--------------+----------------
+(0 rows)
select * from \93ͪ\93ß©\93Ѧ\93¿ë\93¾î where \93ÝÂ\93×¾\93ÄÚ\93µå like '_Z01_';
- \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸
---------------------------+--------------+----------------
- \93ÄÄ\93Ç»\93ÅÍ\93ÇÁ\93·Î\93±×\93·¡\93¸Ó | \93ìÑZ01\93ù» |
-(1 row)
+ \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸
+--------+--------------+----------------
+(0 rows)
select * from \93ͪ\93ß©\93Ѧ\93¿ë\93¾î where \93ÝÂ\93×¾\93ÄÚ\93µå like '_Z%';
- \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸
---------------------------+--------------+----------------
- \93ÄÄ\93Ç»\93ÅÍ\93ÇÁ\93·Î\93±×\93·¡\93¸Ó | \93ìÑZ01\93ù» |
-(1 row)
+ \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸
+--------+--------------+----------------
+(0 rows)
select * from \93ͪ\93ß©\93Ѧ\93¿ë\93¾î where \93¿ë\93¾î ~ '\93ÄÄ\93Ç»\93ÅÍ[\93µð\93±×]';
- \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸
---------------------------+--------------+----------------
- \93ÄÄ\93Ç»\93ÅÍ\93µð\93½º\93ÇÃ\93·¹\93ÀÌ | \93ѦA01\93ß¾ |
- \93ÄÄ\93Ç»\93ÅÍ\93±×\93·¡\93ÇÈ\93½º | \93ÝÂB10\93ñé |
-(2 rows)
+ \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸
+--------+--------------+----------------
+(0 rows)
select * from \93ͪ\93ß©\93Ѧ\93¿ë\93¾î where \93¿ë\93¾î ~* '\93ÄÄ\93Ç»\93ÅÍ[\93µð\93±×]';
- \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸
---------------------------+--------------+----------------
- \93ÄÄ\93Ç»\93ÅÍ\93µð\93½º\93ÇÃ\93·¹\93ÀÌ | \93ѦA01\93ß¾ |
- \93ÄÄ\93Ç»\93ÅÍ\93±×\93·¡\93ÇÈ\93½º | \93ÝÂB10\93ñé |
-(2 rows)
+ \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸
+--------+--------------+----------------
+(0 rows)
select *,character_length(\93¿ë\93¾î) from \93ͪ\93ß©\93Ѧ\93¿ë\93¾î;
\93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸ | char_length
--------------------------+--------------+----------------+-------------
- \93ÄÄ\93Ç»\93ÅÍ\93µð\93½º\93ÇÃ\93·¹\93ÀÌ | \93ѦA01\93ß¾ | | 8
- \93ÄÄ\93Ç»\93ÅÍ\93±×\93·¡\93ÇÈ\93½º | \93ÝÂB10\93ñé | | 7
- \93ÄÄ\93Ç»\93ÅÍ\93ÇÁ\93·Î\93±×\93·¡\93¸Ó | \93ìÑZ01\93ù» | | 8
+ \93ÄÄ\93Ç»\93ÅÍ\93µð\93½º\93ÇÃ\93·¹\93ÀÌ | \93ѦA01\93ß¾ | | 12
+ \93ÄÄ\93Ç»\93ÅÍ\93±×\93·¡\93ÇÈ\93½º | \93ÝÂB10\93ñé | | 11
+ \93ÄÄ\93Ç»\93ÅÍ\93ÇÁ\93·Î\93±×\93·¡\93¸Ó | \93ìÑZ01\93ù» | | 12
(3 rows)
select *,octet_length(\93¿ë\93¾î) from \93ͪ\93ß©\93Ѧ\93¿ë\93¾î;
\93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸ | octet_length
--------------------------+--------------+----------------+--------------
- \93ÄÄ\93Ç»\93ÅÍ\93µð\93½º\93ÇÃ\93·¹\93ÀÌ | \93ѦA01\93ß¾ | | 24
- \93ÄÄ\93Ç»\93ÅÍ\93±×\93·¡\93ÇÈ\93½º | \93ÝÂB10\93ñé | | 21
- \93ÄÄ\93Ç»\93ÅÍ\93ÇÁ\93·Î\93±×\93·¡\93¸Ó | \93ìÑZ01\93ù» | | 24
+ \93ÄÄ\93Ç»\93ÅÍ\93µð\93½º\93ÇÃ\93·¹\93ÀÌ | \93ѦA01\93ß¾ | | 36
+ \93ÄÄ\93Ç»\93ÅÍ\93±×\93·¡\93ÇÈ\93½º | \93ÝÂB10\93ñé | | 32
+ \93ÄÄ\93Ç»\93ÅÍ\93ÇÁ\93·Î\93±×\93·¡\93¸Ó | \93ìÑZ01\93ù» | | 36
(3 rows)
select *,position('\93µð' in \93¿ë\93¾î) from \93ͪ\93ß©\93Ѧ\93¿ë\93¾î;
- \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸ | strpos
---------------------------+--------------+----------------+--------
- \93ÄÄ\93Ç»\93ÅÍ\93µð\93½º\93ÇÃ\93·¹\93ÀÌ | \93ѦA01\93ß¾ | | 4
- \93ÄÄ\93Ç»\93ÅÍ\93±×\93·¡\93ÇÈ\93½º | \93ÝÂB10\93ñé | | 0
- \93ÄÄ\93Ç»\93ÅÍ\93ÇÁ\93·Î\93±×\93·¡\93¸Ó | \93ìÑZ01\93ù» | | 0
+ \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸ | position
+--------------------------+--------------+----------------+----------
+ \93ÄÄ\93Ç»\93ÅÍ\93µð\93½º\93ÇÃ\93·¹\93ÀÌ | \93ѦA01\93ß¾ | | 0
+ \93ÄÄ\93Ç»\93ÅÍ\93±×\93·¡\93ÇÈ\93½º | \93ÝÂB10\93ñé | | 0
+ \93ÄÄ\93Ç»\93ÅÍ\93ÇÁ\93·Î\93±×\93·¡\93¸Ó | \93ìÑZ01\93ù» | | 0
(3 rows)
select *,substring(\93¿ë\93¾î from 3 for 4) from \93ͪ\93ß©\93Ѧ\93¿ë\93¾î;
- \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸ | substr
---------------------------+--------------+----------------+--------------
- \93ÄÄ\93Ç»\93ÅÍ\93µð\93½º\93ÇÃ\93·¹\93ÀÌ | \93ѦA01\93ß¾ | | \93ÅÍ\93µð\93½º\93ÇÃ
- \93ÄÄ\93Ç»\93ÅÍ\93±×\93·¡\93ÇÈ\93½º | \93ÝÂB10\93ñé | | \93ÅÍ\93±×\93·¡\93ÇÈ
- \93ÄÄ\93Ç»\93ÅÍ\93ÇÁ\93·Î\93±×\93·¡\93¸Ó | \93ìÑZ01\93ù» | | \93ÅÍ\93ÇÁ\93·Î\93±×
+ \93¿ë\93¾î | \93ÝÂ\93×¾\93ÄÚ\93µå | \93ºñ\93°í1a\93¶ó\93±¸ | substring
+--------------------------+--------------+----------------+-----------
+ \93ÄÄ\93Ç»\93ÅÍ\93µð\93½º\93ÇÃ\93·¹\93ÀÌ | \93ѦA01\93ß¾ | | Ç»\93ÅÍ\93µð
+ \93ÄÄ\93Ç»\93ÅÍ\93±×\93·¡\93ÇÈ\93½º | \93ÝÂB10\93ñé | | Ç»\93ÅÍ\93±×
+ \93ÄÄ\93Ç»\93ÅÍ\93ÇÁ\93·Î\93±×\93·¡\93¸Ó | \93ìÑZ01\93ù» | | Ç»\93ÅÍ\93ÇÁ
(3 rows)
drop table test;
-ERROR: Relation 'test' does not exist
+ERROR: table "test" does not exist
create table test (t text);
insert into test values('ENGLISH');
insert into test values('FRAN\81ÇAIS');
t | octet_length
--------------------------------------+--------------
ENGLISH | 7
- FRAN\81ÇAIS | 9
- ESPA\81ÑOL | 8
- \81ÍSLENSKA | 9
- ENGLISH FRAN\81ÇAIS ESPA\81ÑOL \81ÍSLENSKA | 36
+ FRAN\81ÇAIS | 10
+ ESPA\81ÑOL | 9
+ \81ÍSLENSKA | 10
+ ENGLISH FRAN\81ÇAIS ESPA\81ÑOL \81ÍSLENSKA | 39
(5 rows)
select *,position('L' in t) from test;
- t | strpos
---------------------------------------+--------
- ENGLISH | 4
- FRAN\81ÇAIS | 0
- ESPA\81ÑOL | 7
- \81ÍSLENSKA | 3
- ENGLISH FRAN\81ÇAIS ESPA\81ÑOL \81ÍSLENSKA | 4
+ t | position
+--------------------------------------+----------
+ ENGLISH | 4
+ FRAN\81ÇAIS | 0
+ ESPA\81ÑOL | 7
+ \81ÍSLENSKA | 3
+ ENGLISH FRAN\81ÇAIS ESPA\81ÑOL \81ÍSLENSKA | 4
(5 rows)
select *,substring(t from 3 for 4) from test;
- t | substr
---------------------------------------+--------
+ t | substring
+--------------------------------------+-----------
ENGLISH | GLIS
FRAN\81ÇAIS | AN\81ÇA
ESPA\81ÑOL | PA\81ÑO
(3 rows)
select *,position('\83f' in \97p\8cê) from \8cv\8eZ\8b@\97p\8cê;
- \97p\8cê | \95ª\97Þ\83R\81[\83h | \94õ\8dl1a\82¾\82æ | strpos
-----------------------------+------------+------------+--------
- \83R\83\93\83s\83\85\81[\83^\83f\83B\83X\83v\83\8c\83C | \8b@A01\8fã | | 7
- \83R\83\93\83s\83\85\81[\83^\83O\83\89\83t\83B\83b\83N\83X | \95ªB10\92\86 | | 0
- \83R\83\93\83s\83\85\81[\83^\83v\83\8d\83O\83\89\83}\81[ | \90lZ01\89º | | 0
+ \97p\8cê | \95ª\97Þ\83R\81[\83h | \94õ\8dl1a\82¾\82æ | position
+----------------------------+------------+------------+----------
+ \83R\83\93\83s\83\85\81[\83^\83f\83B\83X\83v\83\8c\83C | \8b@A01\8fã | | 7
+ \83R\83\93\83s\83\85\81[\83^\83O\83\89\83t\83B\83b\83N\83X | \95ªB10\92\86 | | 0
+ \83R\83\93\83s\83\85\81[\83^\83v\83\8d\83O\83\89\83}\81[ | \90lZ01\89º | | 0
(3 rows)
select *,substring(\97p\8cê from 10 for 4) from \8cv\8eZ\8b@\97p\8cê;
- \97p\8cê | \95ª\97Þ\83R\81[\83h | \94õ\8dl1a\82¾\82æ | substr
-----------------------------+------------+------------+----------
+ \97p\8cê | \95ª\97Þ\83R\81[\83h | \94õ\8dl1a\82¾\82æ | substring
+----------------------------+------------+------------+-----------
\83R\83\93\83s\83\85\81[\83^\83f\83B\83X\83v\83\8c\83C | \8b@A01\8fã | | \83v\83\8c\83C
\83R\83\93\83s\83\85\81[\83^\83O\83\89\83t\83B\83b\83N\83X | \95ªB10\92\86 | | \83B\83b\83N\83X
\83R\83\93\83s\83\85\81[\83^\83v\83\8d\83O\83\89\83}\81[ | \90lZ01\89º | | \83\89\83}\81[
drop table 計算機用語;
-ERROR: Relation '計算機用語' does not exist
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
+ERROR: table "è¨æ©èª" does not exist
create table 計算機用語 (用語 text, 分類コード varchar, 備考1Aだよ char(16));
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe582) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x99e8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8083) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe381) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa0e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8288) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "1"
create index 計算機用語index1 on 計算機用語 using btree (用語);
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e69) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "btree"
create index 計算機用語index2 on 計算機用語 using hash (分類コード);
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e69) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8929) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "hash"
insert into 計算機用語 values('コンピュータディスプレイ','機A01上');
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x87e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x82a3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8397) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xace3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x82a4) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9f41) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8a27) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "'"
insert into 計算機用語 values('コンピュータグラフィックス','分B10中');
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83a9) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x95e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x82a3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x82af) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xb927) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8642) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xad27) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "'"
insert into 計算機用語 values('コンピュータプログラマー','人Z01下');
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x97e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83ad) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83a9) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9ee3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xba5a) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8b27) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "'"
vacuum 計算機用語;
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
+NOTICE: Vacuum: table not found
select * from 計算機用語;
- 用語 | 分類コード | 備考1aだよ
------------------------------------------+-----------------+----------------
- コンピュータディスプレイ | 機A01上 |
- コンピュータグラフィックス | 分B10中 |
- コンピュータプログラマー | 人Z01下 |
-(3 rows)
-
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
+ERROR: Relation 'è¨æ©èª' does not exist
select * from 計算機用語 where 分類コード = '人Z01下';
- 用語 | 分類コード | 備考1aだよ
---------------------------------------+-----------------+----------------
- コンピュータプログラマー | 人Z01下 |
-(1 row)
-
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xba5a) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8b27) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "="
select * from 計算機用語 where 分類コード ~* '人z01下';
- 用語 | 分類コード | 備考1aだよ
---------------------------------------+-----------------+----------------
- コンピュータプログラマー | 人Z01下 |
-(1 row)
-
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xba7a) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8b27) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "~*"
select * from 計算機用語 where 分類コード like '_Z01_';
- 用語 | 分類コード | 備考1aだよ
---------------------------------------+-----------------+----------------
- コンピュータプログラマー | 人Z01下 |
-(1 row)
-
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "'"
select * from 計算機用語 where 分類コード like '_Z%';
- 用語 | 分類コード | 備考1aだよ
---------------------------------------+-----------------+----------------
- コンピュータプログラマー | 人Z01下 |
-(1 row)
-
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe588) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x86e9) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa19e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83bc) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8920) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "'"
select * from 計算機用語 where 用語 ~ 'コンピュータ[デグ]';
- 用語 | 分類コード | 備考1aだよ
------------------------------------------+-----------------+----------------
- コンピュータディスプレイ | 機A01上 |
- コンピュータグラフィックス | 分B10中 |
-(2 rows)
-
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x87e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x82b0) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "~"
select * from 計算機用語 where 用語 ~* 'コンピュータ[デグ]';
- 用語 | 分類コード | 備考1aだよ
------------------------------------------+-----------------+----------------
- コンピュータディスプレイ | 機A01上 |
- コンピュータグラフィックス | 分B10中 |
-(2 rows)
-
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e20) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe382) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83b3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x83a5) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x82bf) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x87e3) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x82b0) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "~*"
select *,character_length(用語) from 計算機用語;
- 用語 | 分類コード | 備考1aだよ | char_length
------------------------------------------+-----------------+----------------+-------------
- コンピュータディスプレイ | 機A01上 | | 12
- コンピュータグラフィックス | 分B10中 | | 13
- コンピュータプログラマー | 人Z01下 | | 12
-(3 rows)
-
+NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
+ERROR: Relation 'è¨æ©èª' does not exist
select *,octet_length(用語) from 計算機用語;
- 用語 | 分類コード | 備考1aだよ | octet_length
------------------------------------------+-----------------+----------------+--------------
- コンピュータディスプレイ | 機A01上 | | 36
- コンピュータグラフィックス | 分B10中 | | 39
- コンピュータプログラマー | 人Z01下 | | 36
-(3 rows)
-
+NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
+ERROR: Relation 'è¨æ©èª' does not exist
select *,position('デ' in 用語) from 計算機用語;
- 用語 | 分類コード | 備考1aだよ | strpos
------------------------------------------+-----------------+----------------+--------
- コンピュータディスプレイ | 機A01上 | | 7
- コンピュータグラフィックス | 分B10中 | | 0
- コンピュータプログラマー | 人Z01下 | | 0
-(3 rows)
-
+NOTICE: local_to_utf: could not convert (0xe383) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x8727) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
+ERROR: Unterminated quoted string
select *,substring(用語 from 10 for 4) from 計算機用語;
- 用語 | 分類コード | 備考1aだよ | substr
------------------------------------------+-----------------+----------------+--------------
- コンピュータディスプレイ | 機A01上 | | プレイ
- コンピュータグラフィックス | 分B10中 | | ィックス
- コンピュータプログラマー | 人Z01下 | | ラマー
-(3 rows)
-
+NOTICE: local_to_utf: could not convert (0xe794) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xa8e8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xaa9e) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x88e7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0xae97) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9fe7) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x94a8) EUC_JP to UTF-8. Ignored
+NOTICE: local_to_utf: could not convert (0x9e3b) EUC_JP to UTF-8. Ignored
+ERROR: parser: parse error at or near "from"