Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfebc10d

Browse files
committed
Fix markup and license.
1 parent889ec4b commitfebc10d

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

‎contrib/hstore/README.hstore

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ Authors
1111
* Oleg Bartunov <oleg@sai.msu.su>, Moscow, Moscow University, Russia
1212
* Teodor Sigaev <teodor@sigaev.ru>, Moscow, Delta-Soft Ltd.,Russia
1313

14-
License
15-
16-
Stable version, included into PostgreSQL distribution, released under BSD license. Development version, available from this site, released under the GNU General Public License, version 2 (June 1991).
14+
LEGAL NOTICES: This module is released under BSD license (as PostgreSQL
15+
itself)
1716

1817
Operations
1918

@@ -61,7 +60,8 @@ regression=# select 'a=>b, b=>1, c=>NULL'::hstore @ 'b=>1';
6160
t
6261
(1 row)
6362

64-
* hstore ~ hstore - contained operation, check if left operand is contained in right
63+
* hstore ~ hstore - contained operation, check if left operand is contained
64+
in right
6565

6666
Functions
6767

@@ -95,7 +95,8 @@ regression=# select svals('a=>1,b=>2');
9595
1
9696
2
9797

98-
* delete (hstore,text) - delete (key,value) from hstore if key matches argument.
98+
* delete (hstore,text) - delete (key,value) from hstore if key matches
99+
argument.
99100

100101
regression=# select delete('a=>1,b=>2','b');
101102
delete
@@ -110,14 +111,16 @@ regression=# select * from each('a=>1,b=>2');
110111
a | 1
111112
b | 2
112113

113-
* isexists (hstore,text) - returns 'true if key is exists in hstore and false otherwise.
114+
* isexists (hstore,text) - returns 'true if key is exists in hstore and
115+
false otherwise.
114116

115117
regression=# select isexists('a=>1','a');
116118
isexists
117119
----------
118120
t
119121

120-
* isdefined (hstore,text) - returns true if key is exists in hstore and its value is not NULL.
122+
* isdefined (hstore,text) - returns true if key is exists in hstore and
123+
its value is not NULL.
121124

122125
regression=# select isdefined('a=>NULL','a');
123126
isdefined
@@ -148,7 +151,9 @@ update tt set h=delete(h,'k1');
148151

149152
* Statistics
150153

151-
hstore type, because of its intrinsic liberality, could contain a lot of different keys. Checking for valid keys is the task of application. Examples below demonstrate several techniques how to check keys statistics.
154+
hstore type, because of its intrinsic liberality, could contain a lot of
155+
different keys. Checking for valid keys is the task of application.
156+
Examples below demonstrate several techniques how to check keys statistics.
152157

153158
o simple example
154159

@@ -172,4 +177,4 @@ select key, count(*) from (select (each(h)).key from testhstore) as stat group b
172177
public | 194
173178
title | 190
174179
org | 189
175-
...................
180+
...................

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp