@@ -5,21 +5,21 @@ SET client_min_messages = warning;
5
5
CREATE TABLE tbl_cluster (
6
6
col1 int,
7
7
col2 timestamp,
8
- ":- )" text,
9
- PRIMARY KEY (":- )", col1)
8
+ ","" )" text,
9
+ PRIMARY KEY (","" )", col1)
10
10
) WITH (fillfactor = 70);
11
- CREATE INDEX cidx_cluster ON tbl_cluster (col2, length(":- )"));
12
- ALTER TABLE tbl_cluster CLUSTER ON cidx_cluster ;
11
+ CREATE INDEX ","") cluster" ON tbl_cluster (col2, length(","" )"), ","")" text_pattern_ops );
12
+ ALTER TABLE tbl_cluster CLUSTER ON ","") cluster" ;
13
13
CREATE TABLE tbl_only_pkey (
14
14
col1 int PRIMARY KEY,
15
- ":- )" text
15
+ ","" )" text
16
16
);
17
17
CREATE TABLE tbl_only_ckey (
18
18
col1 int,
19
19
col2 timestamp,
20
- ":- )" text
20
+ ","" )" text
21
21
) WITH (fillfactor = 70);
22
- CREATE INDEX cidx_only_ckey ON tbl_only_ckey (col2, ":- )");
22
+ CREATE INDEX cidx_only_ckey ON tbl_only_ckey (col2, ","" )");
23
23
ALTER TABLE tbl_only_ckey CLUSTER ON cidx_only_ckey;
24
24
CREATE TABLE tbl_gistkey (
25
25
id integer PRIMARY KEY,
@@ -83,10 +83,10 @@ SELECT * FROM tbl_with_dropped_column;
83
83
--------+-----------------------------+-----------
84
84
col1 | integer | not null
85
85
col2 | timestamp without time zone |
86
- :- ) | text | not null
86
+ ," ) | text | not null
87
87
Indexes:
88
- "tbl_cluster_pkey" PRIMARY KEY, btree (":- )", col1)
89
- "cidx_cluster" btree (col2, length(":- )")) CLUSTER
88
+ "tbl_cluster_pkey" PRIMARY KEY, btree (","" )", col1)
89
+ ",") cluster" btree (col2, length(","" )"), ","")" text_pattern_ops ) CLUSTER
90
90
91
91
\d tbl_gistkey
92
92
Table "public.tbl_gistkey"
@@ -104,16 +104,16 @@ Indexes:
104
104
--------+-----------------------------+-----------
105
105
col1 | integer |
106
106
col2 | timestamp without time zone |
107
- :- ) | text |
107
+ ," ) | text |
108
108
Indexes:
109
- "cidx_only_ckey" btree (col2, ":- )") CLUSTER
109
+ "cidx_only_ckey" btree (col2, ","" )") CLUSTER
110
110
111
111
\d tbl_only_pkey
112
112
Table "public.tbl_only_pkey"
113
113
Column | Type | Modifiers
114
114
--------+---------+-----------
115
115
col1 | integer | not null
116
- :- ) | text |
116
+ ," ) | text |
117
117
Indexes:
118
118
"tbl_only_pkey_pkey" PRIMARY KEY, btree (col1)
119
119
@@ -130,8 +130,8 @@ Indexes:
130
130
"idx_c1c2" btree (c1, c2)
131
131
"idx_c2c1" btree (c2, c1)
132
132
133
- SELECT col1, to_char(col2, 'YYYY-MM-DD HH24:MI:SS'), ":- )" FROM tbl_cluster;
134
- col1 | to_char | :-)
133
+ SELECT col1, to_char(col2, 'YYYY-MM-DD HH24:MI:SS'), ","" )" FROM tbl_cluster;
134
+ col1 | to_char | ,")
135
135
------+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
136
136
2 | 2008-01-01 00:00:00 | king
137
137
5 | 2008-01-01 00:30:00 | 1.4142135623730950488016887242096980785696718753769480731766797379907324784621070388503875343276415727350138462309122970249248360558507372126441214970999358314132226659275055927557999505011527820605714701095599716059702745345968620147285174186408891986095523292304843087143214508397626036279952514079896872533965463318088296406206152583523950547457502877599617298355752203375318570113543746034084988471603868999706990048150305440277903164542478230684929369186215805784631115966687130130156185689872372352885092648612494977154218334204285686060146824720771435854874155657069677653720226485447015858801620758474922657226002085584466521458398893944370926591800311388246468157082630100594858704003186480342194897278290641045072636881313739855256117322040245091227700226941127573627280495738108967504018369868368450725799364729060762996941380475654823728997180326802474420629269124859052181004459842150591120249441341728531478105803603371077309182869314710171111683916581726889419758716582152128229518488471.732050807568877293527446341505872366942805253810380628055806979451933016908800037081146186757248575675626141415406703029969945094998952478811655512094373648528093231902305582067974820101084674923265015312343266903322886650672254668921837971227047131660367861588019049986537379859389467650347506576050756618348129606100947602187190325083145829523959832997789824508288714463832917347224163984587855397667958063818353666110843173780894378316102088305524901670023520711144288695990956365797087168498072899493296484283020786408603988738697537582317317831395992983007838702877053913369563312103707264019249106768231199288375641141422016742752102372994270831059898459475987664288897796147837958390228854852903576033852808064381972344661059689722872865264153822664698420021195484155278441181286534507035191650016689294415480846071277143999762926834629577438361895110127148638746976545982451788550975379013880664961911962222957110555242923723192197738262561631468842032853716682938649611917049738836395495938
@@ -141,14 +141,14 @@ SELECT col1, to_char(col2, 'YYYY-MM-DD HH24:MI:SS'), ":-)" FROM tbl_cluster;
141
141
(5 rows)
142
142
143
143
SELECT * FROM tbl_only_ckey ORDER BY 1;
144
- col1 | col2 | :- )
144
+ col1 | col2 | ," )
145
145
------+--------------------------+-----
146
146
1 | Tue Jan 01 00:00:00 2008 | abc
147
147
2 | Fri Feb 01 00:00:00 2008 | def
148
148
(2 rows)
149
149
150
150
SELECT * FROM tbl_only_pkey ORDER BY 1;
151
- col1 | :- )
151
+ col1 | ," )
152
152
------+-----
153
153
1 | abc
154
154
2 | def
0 commit comments